public void Throws_if_given_a_null_interceptor() { Assert.Equal( "interceptor", Assert.Throws<ArgumentNullException>(() => new DbConfiguration().AddInterceptor(null)).ParamName); }