@Test
public void accept() throws Exception {

  new StandardVisitor() {
    @Override
    public void visitIntConstantExpr(IntConstantExpr intConstantExpr) {
      super.visitIntConstantExpr(intConstantExpr);
      assertEquals("42", intConstantExpr.getValue());
    }
  }.visit(new IntConstantExpr("42"));
}