@Test
public void testWhileStatement() {

  Parser<Statement> parser = StatementParser.whileStatement(ExpressionParser.IDENTIFIER, SIMPLE_STATEMENT);
  TerminalParserTest.assertResult(parser, "while(foo) bar;", WhileStatement.class, "while (foo) bar;");
}