### Question:
ELContextDecorator extends ELContext { @Override @SuppressWarnings("rawtypes") public Object getContext(Class key) { return this.elContext.getContext(key); } 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 shouldDecorateGetContext() throws Exception { Class<?> key = Object.class; Object contextObject = new Object(); given(this.decorated.getContext(key)).willReturn(contextObject); Object actual = this.decorator.getContext(key); assertThat(actual, is(contextObject)); verify(this.decorated).getContext(key); }