BoDi.Tests.RegisterInstanceTests.ShouldThrowArgumentExceptionWhenCalledWithNull C# (CSharp) Method

ShouldThrowArgumentExceptionWhenCalledWithNull() private method

private ShouldThrowArgumentExceptionWhenCalledWithNull ( ) : void
return void
        public void ShouldThrowArgumentExceptionWhenCalledWithNull()
        {
            // given
            var container = new ObjectContainer();

            // when

            container.RegisterInstanceAs((IInterface1)null);
        }