@Test
public void testQualifiedNew() {

  Parser<UnaryOperator<Expression>> parser = ExpressionParser.qualifiedNew(ExpressionParser.IDENTIFIER, EMPTY_BODY);
  TerminalParserTest.assertToString(NewExpression.class, "1.new int(a, b) {}",
      parse(parser, ".new int(a,b){}").apply(literal(1)));
  TerminalParserTest.assertToString(NewExpression.class, "1.new int(a)",
      parse(parser, ".new int(a)").apply(literal(1)));
}