In my blazor component i use [Inject] public ProtectedSessionStorage SessionStorage { get; set; }. When testting with bunit it doesn't find implementation of ProtectedSessionStorage and IDataProtectionProvider, since IDataProtectionProvider is injected within ProtectedSessionStorage via contructor.
Typically i would implement services like it's shown here: https://bunit.dev/docs/providing-input/inject-services-into-components.html
But i have no clue how to implement ProtectedSessionStorage.
In my blazor component i use
[Inject] public ProtectedSessionStorage SessionStorage { get; set; }. When testting with bunit it doesn't find implementation of ProtectedSessionStorage and IDataProtectionProvider, since IDataProtectionProvider is injected within ProtectedSessionStorage via contructor.Typically i would implement services like it's shown here: https://bunit.dev/docs/providing-input/inject-services-into-components.html
But i have no clue how to implement ProtectedSessionStorage.