System.Data.Entity.DbConfigurationTests.SetModelCacheKey.Throws_if_given_a_null_factory C# (CSharp) Method

Throws_if_given_a_null_factory() private method

private Throws_if_given_a_null_factory ( ) : void
return void
            public void Throws_if_given_a_null_factory()
            {
                Assert.Equal(
                    "keyFactory",
                    Assert.Throws<ArgumentNullException>(() => new DbConfiguration().SetModelCacheKey(null)).ParamName);
            }