@Test
public void testNotEnabled() throws ServletException {

  InitializeSessionManagement ism = new InitializeSessionManagement();
  ServletContext context = mock(ServletContext.class);
  when(context.getInitParameter(SessionConfiguration.DISABLED_SESSION)).thenReturn("true");
  ism.onStartup(null, context);
  verify(context, never()).addFilter(eq("com.amdeus.session.filter"), any(SessionFilter.class));
}