public void IdentityProviderCollection_RegisterIdentityProvider_NullCheck() { var subject = new IdentityProviderCollection(); Action a = () => subject.RegisterIdentityProviders(null); a.ShouldThrow <ArgumentNullException>().And.ParamName.Should().Be("options"); }
public void IdentityProviderCollection_RegisterIdentityProvider_NullCheck() { var subject = new IdentityProviderCollection(); Action a = () => subject.RegisterIdentityProviders(null); a.ShouldThrow<ArgumentNullException>().And.ParamName.Should().Be("options"); }