RealFunction extends AbstractSymbolizerNode implements SeParameter, RealParameter { @Override public List<SymbolizerNode> getChildren() { List<SymbolizerNode> ls =new ArrayList<SymbolizerNode>(); ls.addAll(operands); return ls; } RealFunction(Operators operator);  RealFunction(String name);  RealFunction(FunctionType fcn);  RealFunction(JAXBElement<FunctionType> fcn); Operators getOperator(); List<RealParameter> getOperands(); RealParameter getOperand(int i); void addOperand(RealParameter operand); @Override Double getValue(ResultSet rs, long fid); @Override Double getValue(Map<String,Object> map); @Override String toString(); @Override void setContext(RealParameterContext ctx); @Override RealParameterContext getContext(); @Override int compareTo(Object o); @Override ParameterValueType getJAXBParameterValueType(); @Override JAXBElement<?> getJAXBExpressionType(); @Override List<SymbolizerNode> getChildren();  }
@Test public void testgetChildren() throws Exception { RealFunction op1 = new RealFunction("div"); op1.addOperand(new RealLiteral(100)); op1.addOperand(new RealLiteral(10)); assertEquals(op1.getChildren().size(),2); }