@Test
public void testDefaultWithNullClasses() throws ServletException {

  InitializeSessionManagement ism = new InitializeSessionManagement();
  ServletContext context = mock(ServletContext.class);
  when(context.getClassLoader()).thenReturn(this.getClass().getClassLoader());
  Dynamic dynamic = mock(Dynamic.class);
  when(context.addFilter(any(String.class), any(Filter.class))).thenReturn(dynamic);
  ism.onStartup(null, context);
  verify(context).addFilter(eq("com.amdeus.session.filter"), any(SessionFilter.class));
}