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

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