Bytes2you.Validation.UnitTests.ValidationPredicates.StringPredicates.StringNotEmptyValidationPredicateTests.Match_Should.ReturnTrueAndMatchMessage_WhenArgumentHasElements C# (CSharp) Method

ReturnTrueAndMatchMessage_WhenArgumentHasElements() private method

private ReturnTrueAndMatchMessage_WhenArgumentHasElements ( ) : void
return void
        public void ReturnTrueAndMatchMessage_WhenArgumentHasElements()
        {
            // Arrange.
            string value = "asdf";

            // Act.
            IValidationPredicateResult result = StringNotEmptyValidationPredicate.Instance.Match(value);

            // Assert.
            Assert.IsTrue(result.IsMatch);
            Assert.AreEqual("Argument value <asdf> is not an empty string.", result.Message);
        }