@Test
public void testInitConfFromServletContext() {

  SessionConfiguration sc = new SessionConfiguration();
  when(servletContext.getAttribute(SessionHelpers.SESSION_CONFIGURATION)).thenReturn(sc);
  SessionConfiguration configuration = SessionHelpers.initConf(servletContext);
  assertEquals(sc, configuration);
  verify(servletContext, never()).setAttribute(Mockito.eq(SessionHelpers.SESSION_CONFIGURATION), any());
}