OneSignal-Flutter-SDK
OneSignal-Flutter-SDK copied to clipboard
[question]: How to mock OneSignal
trafficstars
How can we help?
Hi, I want to write tests for my OneSingal integration and need to mock OneSignal to do this. How can I do this as OneSignal only has static members?
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Hi @MarcelGalster, it is not easy to mock OneSignal for tests as it does only have static members.
What types of behaviors are you trying to test?