public void TestValidateNotNullOrEmptyWithEmptyValueShouldReturnValidationResults()
        {
            // Arrange

            var    validationResults = new ValidationResults();
            string input             = "";

            // Act

            validationResults.ValidateNotNullOrEmpty(input, "input");

            // Assert

            validationResults.GetMessages().Should().Be("input cannot be null or empty");
        }
        public void TestValidateNotNullWithNullValueShouldReturnValidationResults()
        {
            // Arrange

            var validationResults = new ValidationResults();
            int input             = -1;

            // Act

            validationResults.ValidateNotNull(input, "input");

            // Assert

            validationResults.GetMessages().Should().Be("input cannot be null");
        }
        public void ValidationResultsShouldHaveCorrectResultMessage()
        {
            // Arrange

            var validationResults = new ValidationResults();


            // Act

            validationResults.AddValidationResult("Test", "Test message with property: {0}");
            validationResults.AddValidationResult("Test2", "Test message 2 with property: {0}");

            // Assert

            validationResults.GetMessages().Should().Be("Test message with property: Test\r\nTest message 2 with property: Test2");
        }