Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebPushClient: Implement an interface for mocking in UnitTests #79

Closed
kristof12345 opened this issue Apr 8, 2021 · 1 comment
Closed

Comments

@kristof12345
Copy link

Hi!

When trying to make unit tests for my app it'd be really useful to mock WebPushClient. For this creating an abstract base class or an interface would be really useful (or just making SendNotificationAsync overridable).

Thank you!

@coryjthompson
Copy link
Member

Thanks for your advice.

IWebPushClient was introduced for mocking and released in v1.0.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants