finishTest();
}
public void testPentahoHttpSessionListener2() {
startTest();
MockHttpSession session = new MockHttpSession();
HttpSession httpSession = session;
HttpSessionEvent event = new HttpSessionEvent( httpSession );
PentahoHttpSessionListener httpSessionListener = new PentahoHttpSessionListener();
httpSessionListener.sessionCreated( event );
PentahoHttpSessionListener.registerHttpSession( session.getId(),
"3543453453", "34534535345", "533453535345", "Admin", "4674564564", Long.parseLong( "100000" ) ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$
PentahoHttpSessionListener.deregisterHttpSession( session.getId() );
session.setAttribute( PentahoSystem.PENTAHO_SESSION_KEY, null ); //$NON-NLS-1$
httpSessionListener.sessionDestroyed( event );
finishTest();
}