### Question:
SpringELResolver extends ELResolver implements FacesWrapper<CompositeELResolver> { public CompositeELResolver getWrapped() { return this.wrapperHandler.getWrapped(); }  CompositeELResolver getWrapped(); @Override Object getValue(ELContext context, Object base, Object property); @Override Class<?> getType(ELContext context, Object base, Object property); @Override void setValue(ELContext context, Object base, Object property, Object value); @Override boolean isReadOnly(ELContext context, Object base, Object property); @Override Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base); @Override Class<?> getCommonPropertyType(ELContext context, Object base);  }### Answer:
@Test public void shouldWrap() throws Exception { @SuppressWarnings("unchecked") FacesWrapperFactory<CompositeELResolver> wrapperFactory = mock(FacesWrapperFactory.class); addFactoryWrapper("wrapper", wrapperFactory); SpringELResolver resolver = new SpringELResolver(); resolver.getWrapped(); verify(wrapperFactory).newWrapper(eq(CompositeELResolver.class), any(CompositeELResolver.class)); }