Ejemplo n.º 1
0
        public void CleanTextShouldAcceptNullSearch()
        {
            var sut    = new GdsValidation();
            var result = sut.CleanText(null, true, restrictedWords, allowedChars);

            result.Should().NotBe(null);
        }
Ejemplo n.º 2
0
        public void CleanTextShouldAcceptNotNullSearch()
        {
            var search = "search";
            var sut    = new GdsValidation();
            var result = sut.CleanText(search, true, restrictedWords, allowedChars);

            result.Should().Be(search);
        }