### Question:
ELContextDecorator extends ELContext { @Override public ELResolver getELResolver() { return this.elContext.getELResolver(); } 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 shouldDecorateGetELResolver() throws Exception { ELResolver elResolver = mock(ELResolver.class); given(this.decorated.getELResolver()).willReturn(elResolver); ELResolver actual = this.decorator.getELResolver(); assertThat(actual, is(elResolver)); verify(this.decorated).getELResolver(); }