public void ShouldResolveAuthorizationProviderStubAsDefaultCurrentProvider()
    {
      // arrange
      var provider = new SwitchingAuthorizationProvider();

      // act
      provider.Initialize("switcher", new NameValueCollection());

      // assert
      provider.CurrentProvider.Should().BeOfType<AuthorizationProviderStub>();
    }
 public SwitchingAuthorizationProviderTest()
 {
   this.providerMock = Substitute.For<AuthorizationProvider>();
   this.mockableProvider = new SwitchingAuthorizationProvider();
 }