System.Data.Entity.DbConfigurationTests.AddInterceptor.Throws_if_given_a_null_interceptor C# (CSharp) Метод

Throws_if_given_a_null_interceptor() приватный Метод

private Throws_if_given_a_null_interceptor ( ) : void
Результат void
            public void Throws_if_given_a_null_interceptor()
            {
                Assert.Equal(
                    "interceptor",
                    Assert.Throws<ArgumentNullException>(() => new DbConfiguration().AddInterceptor(null)).ParamName);
            }