void (final String text, final String... expected) { TokenCollector collector = new TokenCollector(); LiteralExpressionTokenizer.processTextWithEscapeSequences(null, text, collector); assertOrderedEquals(collector.getTokenTexts(), expected); }