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