Subject subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);
Subject subj = null; try { subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT); } catch (SubjectNotFoundException e) {  e.printStackTrace(); }
  public void testHas0() {    Subject subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);    GrouperSession s = GrouperSession.start(subj);    // Create ns0    GrouperStem ns0 = GrouperStem.create(                         s, Constants.ns0s, Constants.ns0e                       );    // Assert current privs    List privs = s.naming().has(s, ns0);    Assert.assertTrue("privs == 2", privs.size() == 2);    // Because we are connected as root, everything will return true    Assert.assertTrue(      "has CREATE",  s.naming().has(s, ns0, Grouper.PRIV_CREATE)     );    Assert.assertTrue(      "has STEM", s.naming().has(s, ns0, Grouper.PRIV_STEM)     );    // We're done    s.stop();  }