Closed HolisticDeveloper closed 2 years ago
I'll look into that, but I see no reason why not. I guess the correct way would be to define an interface that is used when injecting.
I guess the easier way would be to set all methods on the BlazoradeMsalService
to virtual so that they can all be overridden for testing purposes. So, if that's OK with you, I guess that's what I'll do for now.
There is now a PR #24 waiting. If that would be enough for your needs @HolisticDeveloper, I can go ahead and complete the PR and publish a new version to Nuget.
I'd like to be able to unit test my components that utilize BlazoradeMsalService. Can the methods be made virtual so that they can be overridable?