### Question:
ELEvaluator { public Context getContext() { return context; } ELEvaluator();  ELEvaluator(Context context); static ELEvaluator getCurrent(); Context getContext(); void setVariable(String name, Object value); Object getVariable(String name); @SuppressWarnings({"unchecked"}) T evaluate(String expr, Class<T> clazz); static final XLog LOG; }### Answer:
@Test public void testFunctions() throws Exception { ELEvaluator.Context support = new ELEvaluator.Context(); support.addFunction("a", "a", functionA); ELEvaluator evaluator = new ELEvaluator(support); assertEquals(functionA, evaluator.getContext().resolveFunction("a", "a")); }