Class PhraseAssert


  • public class PhraseAssert
    extends java.lang.Object
    Assertions for inspecting/testing tokens.
    • Method Detail

      • isTokenized

        public PhraseAssert isTokenized​(java.lang.String expected)
        Assert that all terms in actual are tokenized, and matches expected.
      • isTokenized

        public PhraseAssert isTokenized​(Phrase expected)
        Assert that all terms in actual are tokenized, and matches expected.