TerminalParser { public static Parser<?> phrase(String phrase) { return TERMS.phrase(phrase.split("\\s")); }  static Parser<?> term(String term); static Parser<?> phrase(String phrase);  }
@Test public void testPhrase() { TerminalParser.parse(TerminalParser.phrase("inner join"), " inner join "); assertFailure(TerminalParser.phrase("inner join"), "[inner] join", 1, 1); }