public void testMethodLookup() {
Object[] args = new Object[] { new TestFunctions()};
Function func = functions.getFunction("test", "getFoo", args);
assertEquals(
"test:getFoo($test, 1, x)",
func.invoke(new Context(null), args).toString(),
"0");
}
public void testStaticMethodLookupWithExpressionContext() {
Object[] args = new Object[0];