Bytes2you.Validation.UnitTests.Helpers.PortableLazyTests.Constructors_Should.ThrowArgumentNullException_WhenNameArgumentIsNull C# (CSharp) Method

ThrowArgumentNullException_WhenNameArgumentIsNull() private method

private ThrowArgumentNullException_WhenNameArgumentIsNull ( ) : void
return void
        public void ThrowArgumentNullException_WhenNameArgumentIsNull()
        {
            // Act & Assert.
            Ensure.ArgumentNullExceptionIsThrown(() =>
            {
                PortableLazy<object> lazy = new PortableLazy<object>(null);
            }, "valueFactory");
        }
    }