/** @since 4.0 */
 @Test(expected = IllegalStateException.class)
 public void getCreationTimeOnInvalidatedSession() {
   session.invalidate();
   session.getCreationTime();
 }