public void should_throw_an_argument_null_exception_for_type_parameter_with_paramname_set() { var container = new Container(); try { container.RegisterForType(typeof(string), null); } catch (ArgumentNullException ex) { ex.ParamName.ShouldBeEqualTo("type"); } }
public void should_throw_an_argument_null_exception_for_type_parameter() { var container = new Container(); container.RegisterForType(typeof(string), null); }