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 testFetchNS0() {    Subject subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);    GrouperSession s = GrouperSession.start(subj);    // Create ns0    GrouperStem ns0 = GrouperStem.create(                         s, Constants.ns0s, Constants.ns0e                       );    // Fetch ns0    GrouperStem ns = GrouperStem.load(                        s, Constants.ns0s, Constants.ns0e                      );    Assert.assertNotNull("ns0 !null", ns);    Assert.assertTrue(                      "ns0 right class",                       Constants.KLASS_GST.equals( ns.getClass().getName() )                     );    String type = ns.type();    Assert.assertNotNull("ns type !null", type);    Assert.assertTrue("ns type vale", type.equals(Grouper.NS_TYPE));    String stem = ns.attribute("stem").value();    Assert.assertNotNull("ns stem !null", stem);    Assert.assertTrue("ns stem val", stem.equals(Constants.ns0s));    String extn = ns.attribute("extension").value();    Assert.assertNotNull("ns0 extn !null", extn);    Assert.assertTrue("ns0 extn val", extn.equals(Constants.ns0e));    s.stop();  }