Mock HealthKit Data for Unit Testing

Hello, I would love to ask how can I mock HealthKit data so I can write unit tests for my class. Any code examples or any information on the topic would be much appreciated. Thank you in advance.

Here's is my HealthStore class.



P.s I couldn't post a code snippet because of the characters limit.


Mock HealthKit Data for Unit Testing
 
 
Q