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