TokenTypesExpression extends NativeExpression implements Matcher { @Override public String toString() { return "TokenTypes " + types; } TokenTypesExpression(TokenType... types); @Override void execute(Machine machine); @Override String toString();  }
@Test public void should_compile() { assertThat(expression.compile(new CompilationHandler())).containsOnly(expression); assertThat(expression.toString()).startsWith("TokenTypes [Mock for TokenType, "); }