public void EmptyTextIsSpam() { var spamChecker = new SpamChecker(); var actual = spamChecker.CheckIfTextIsSpam(""); Assert.That(actual, Is.True); }
public void OrdinaryTextIsNotSpam() { var spamChecker = new SpamChecker(); var actual = spamChecker.CheckIfTextIsSpam("I am not spam!"); Assert.That(actual, Is.False); }
public void TextWithDollarSignIsSpam() { var spamChecker = new SpamChecker(); var actual = spamChecker.CheckIfTextIsSpam("I am spam because I have $ sign."); Assert.That(actual, Is.True); }