f.setName("lower");
public void testToString() throws Exception { FunctionImpl func = new FunctionImpl(); Expression param = new LiteralExpressionImpl(42); func.setName("TestFunction"); func.setParameters(Collections.singletonList(param)); String result = func.toString(); assertEquals("TestFunction([42])", result); }
f.setName("lower");