Пример #1
0
 @Test
 public void testSessionIsExpired() {
   Assert.assertTrue(expiredSession.isExpired());
 }
Пример #2
0
 @Test
 public void testSessionIsNotExpired() {
   Assert.assertFalse(session.isExpired());
 }