Class TokenListAssert


  • public class TokenListAssert
    extends java.lang.Object
    Assertions for inspecting/testing TokenLists.
    • Method Detail

      • isTokenized

        public TokenListAssert isTokenized​(java.lang.String... expected)
        Assert that all tokens are marked as TokenAnnotation.TOKENIZED and the token list equals expected.
      • isTokenized

        public TokenListAssert isTokenized​(TokenList expected)
        Assert that all tokens are marked as TokenAnnotation.TOKENIZED and the token list equals expected.
      • equals

        public TokenListAssert equals​(java.lang.String... expected)
        Assert that the token list equals expected.