Subject subj = s.getSubject(); Assert.fail("got subject");
s.getMember(); Assert.fail("FAIL: got member"); } catch (NullPointerException eNP) { Assert.assertTrue("OK: failed to get member", true); } try { s.getSubject(); Assert.fail("FAIL: got subject");
  public void testUseStoppedSession() {    LOG.info("testUseStoppedSession");    GrouperSession s = SessionHelper.getRootSession();    try {       s.stop();      Assert.assertTrue("stopped session", true);      Assert.assertNull("null member", s.getMember());      try {        Subject subj = s.getSubject();        Assert.fail("got subject");      }      catch (RuntimeException eR) {        Assert.assertTrue("failed to get subject", true);      }      Assert.assertNull("null session id", s.getSessionId());      Assert.assertNull("null start time", s.getStartTime());    }    catch (Exception e) {      Assert.fail("failed to stop session: " + e.getMessage());    }  } // public void testUseStoppedSession()