You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a service in which I want to inject OneSignal. In my tests I want to inject a mocked OneSignal service. But dependency injection is not possible because the members are all static and there is no interface that OneSignal implements.
So what are your recommendations to do it as you implemented OneSignal in this way?
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
The text was updated successfully, but these errors were encountered: