public void Throws_if_given_a_null_factory()
{
Assert.Equal(
"factory",
Assert.Throws<ArgumentNullException>(
() => new DbConfiguration().SetHistoryContext("Foo", null)).ParamName);
Assert.Equal(
"factory",
Assert.Throws<ArgumentNullException>(
() => new DbConfiguration().SetDefaultHistoryContext(null)).ParamName);
}