ELContextImpl extends ELContext { public void setFunctionMapper(FunctionMapper functionMapper) { this.functionMapper = functionMapper; } ELContextImpl(ELResolver resolver); @Override ELResolver getELResolver(); @Override FunctionMapper getFunctionMapper(); @Override VariableMapper getVariableMapper(); void setFunctionMapper(FunctionMapper functionMapper); void setVariableMapper(VariableMapper variableMapper);  }
@Test public void testSetFunctionMapper() { FunctionMapper functionMapper = createMock(FunctionMapper.class); replay(resolver, functionMapper); context.setFunctionMapper(functionMapper); assertEquals(functionMapper, context.getFunctionMapper()); verify(resolver, functionMapper); }