ArrayConstructorExpr extends Expr { @Override public int getNumChildren() { return args.size(); } ArrayConstructorExpr(ArrayType arrayType, List<Expr> args); ArrayType getArrayType(); List<Expr> getArgs(); @Override void accept(IAstVisitor visitor); @Override ArrayConstructorExpr clone(); @Override boolean hasChild(IAstNode candidateChild); @Override Expr getChild(int index); @Override void setChild(int index, Expr expr); @Override int getNumChildren();  }
@Test public void getNumChildren() throws Exception { assertEquals(3, arrayConstructor.getNumChildren()); }