@SuppressWarnings("unchecked")
@Test
public void testGetInitParams() {

    ApplicationContext wrappedContext = createMock(ApplicationContext.class);
    Map<String, String> obj = createMock(Map.class);
    expect(wrappedContext.getInitParams()).andReturn(obj);
    replay(wrappedContext, obj);
    ApplicationContextWrapper wrapper = new ApplicationContextWrapper(wrappedContext);
    assertEquals(obj, wrapper.getInitParams());
    verify(wrappedContext, obj);
}