private ShouldThrowArgumentExceptionWhenCalledWithNull ( ) : void | ||
return | void |
public void ShouldThrowArgumentExceptionWhenCalledWithNull()
{
// given
var container = new ObjectContainer();
// when
container.RegisterInstanceAs((IInterface1)null);
}