@Test
public void testContextInitialized() {

    listener.contextInitialized(new ServletContextEvent(sc));
    assertTrue(sc.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE) != null);
    assertTrue(sc.getAttribute(Constants.AVAILABLE_ROLES) != null);
    assertNotNull(sc.getAttribute(Constants.ASSETS_VERSION));
}