private List <string> CleanAndSplitContent() { var content = SpecialCharactersRemover.Remove(Content.ToLower()); var wordList = content.Split(' ').ToList(); return(ArticleAndPrepositionRemover.Remove(wordList)); }
public void RemoveSpecialCharacters() { var content = "Teste de texto, funcionou.?&^$#@!()+-,:;<>’\'_*."; var expectedContent = "Teste de texto funcionou-"; var cleanContent = SpecialCharactersRemover.Remove(content); cleanContent.Should().Be(expectedContent); }