public void ProfanityCheck_CheckContains_Additional() { var result = ProfanityFilter.CheckContains("a", "bad", " !~"); Assert.Null(result); result = ProfanityFilter.CheckContains("my !bad!", "bad", " !~"); Assert.Equal(result, "!bad!"); }