Bytes2you.Validation.UnitTests.ValidationPredicateResultTests.Constructors_Should.ThrowArgumentNullException_WhenMessageIsNull C# (CSharp) Method

ThrowArgumentNullException_WhenMessageIsNull() private method

private ThrowArgumentNullException_WhenMessageIsNull ( ) : void
return void
        public void ThrowArgumentNullException_WhenMessageIsNull()
        {
            // Act & Assert.
            Ensure.ArgumentNullExceptionIsThrown(() =>
            {
                ValidationPredicateResult result = new ValidationPredicateResult(true, null, ValidationType.Default);
            }, "message");
        }