assertEquals(session.getMaxInactiveInterval(), expireTime);
}
@Test
public void testSessionZeroTimeoutConversion() throws Exception {
Property oneHourTimeout = new Property(PROPERTY_NAME, String.valueOf(0));
when(propertyDao.getByName(PROPERTY_NAME)).thenReturn(oneHourTimeout);
listener.sessionCreated(event);
assertEquals(session.getMaxInactiveInterval(), -1);