Exemplo n.º 1
0
        public void ValidateFailureForEmptyQueryString()
        {
            systemUnderTest.QueryString = string.Empty;

            systemUnderTest.ValidateFailure();

            FluentActions.Invoking(() => systemUnderTest.ValidateFailure())
            .Should()
            .NotThrow();

            systemUnderTest.FailedValidation.Should().BeTrue();
            systemUnderTest.FailedValidationMessage.Should().Contain("Enter correct Filter Query");
        }