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

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

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