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 testFetchNS2() {    Subject subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);    GrouperSession s = GrouperSession.start(subj);    // Create ns0    GrouperStem ns0 = GrouperStem.create(                         s, Constants.ns0s, Constants.ns0e                       );    // Create ns1    GrouperStem ns1 = GrouperStem.create(                         s, Constants.ns1s, Constants.ns1e                       );    // Create ns2 as child of ns1    GrouperStem ns2 = GrouperStem.create(                         s, Constants.ns2s, Constants.ns2e                       );    // Fetch ns2    GrouperStem ns = GrouperStem.load(                        s, Constants.ns2s, Constants.ns2e                      );    Assert.assertNotNull("ns2 !null", ns);    // Check child stems    Assert.assertTrue("ns0 child stems == 1", ns0.stems().size() == 1);    Assert.assertTrue("ns1 child stems == 1", ns1.stems().size() == 1);    Assert.assertTrue("ns2 child stems == 0", ns2.stems().size() == 0);    Assert.assertTrue("ns  child stems == 0", ns.stems().size()  == 0);    // Check child groups    Assert.assertTrue("ns0 child groups == 0", ns0.groups().size() == 0);    Assert.assertTrue("ns1 child groups == 0", ns1.groups().size() == 0);    Assert.assertTrue("ns2 child groups == 0", ns2.groups().size() == 0);    Assert.assertTrue("ns  child groups == 0", ns.groups().size()  == 0);    s.stop();  }