@Test
public void testInitSessionManagement() {

  when(servletContext.getClassLoader()).thenReturn(this.getClass().getClassLoader());
  SessionHelpersFacade.initSessionManagement(servletContext);
  ArgumentCaptor<SessionManager> sessionManager = ArgumentCaptor.forClass(SessionManager.class);
  verify(servletContext).setAttribute(eq(Attributes.SESSION_MANAGER), sessionManager.capture());
  assertNotNull(sessionManager.getValue());
  sessionManager.getValue().close();
}