### Question:
ELContextDecorator extends ELContext { @Override public VariableMapper getVariableMapper() { return this.elContext.getVariableMapper(); } ELContextDecorator(ELContext elContext); @Override void setPropertyResolved(boolean resolved); @Override boolean isPropertyResolved(); @Override @SuppressWarnings("rawtypes") void putContext(Class key, Object contextObject); @Override @SuppressWarnings("rawtypes") Object getContext(Class key); @Override Locale getLocale(); @Override void setLocale(Locale locale); @Override ELResolver getELResolver(); @Override FunctionMapper getFunctionMapper(); @Override VariableMapper getVariableMapper();  }### Answer:
@Test public void shouldDecorateGetVariableMapper() throws Exception { VariableMapper variableMapper = mock(VariableMapper.class); given(this.decorated.getVariableMapper()).willReturn(variableMapper); VariableMapper actual = this.decorator.getVariableMapper(); assertThat(actual, is(variableMapper)); verify(this.decorated).getVariableMapper(); }