Subject subj0 = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);
Subject subj0 = null; try { subj0 = SubjectFactory.getSubject(Constants.rootI, Constants.rootT); } catch (SubjectNotFoundException e) {  e.printStackTrace(); }
  public void testBug353Access() {    // Create ns0    Subject subj0 = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);    GrouperSession s0 = GrouperSession.start(subj0);    GrouperStem ns0  = GrouperStem.create(                         s0, Constants.ns0s, Constants.ns0e                       );    GrouperMember m0 = GrouperMember.load(                         s0, Constants.mem0I, Constants.mem0T                       );    s0.naming().grant(s0, ns0, m0, Grouper.PRIV_CREATE);    s0.stop();        //Create g0    Subject subj1 = SubjectFactory.getSubject(Constants.mem0I, Constants.mem0T);    GrouperSession s1 = GrouperSession.start(subj1);    GrouperGroup g0 = GrouperGroup.create(                        s1, Constants.g0s, Constants.g0e                      );    // the basics      Assert.assertNotNull("g0 !null", g0);    Assert.assertTrue(                      "g0 right class",                       Constants.KLASS_GG.equals( g0.getClass().getName() )                     );    String type = g0.type();    // attrs and schema    Assert.assertNotNull("g0 type !null", type);    Assert.assertTrue("g0 type val", type.equals(Grouper.DEF_GROUP_TYPE));    String stem = g0.attribute("stem").value();    Assert.assertNotNull("g0 stem !null", stem);    Assert.assertTrue("g0 stem val", stem.equals(Constants.g0s));    String extn = g0.attribute("extension").value();    Assert.assertNotNull("g0 extn !null", extn);    Assert.assertTrue("g0 extn val", extn.equals(Constants.g0e));    // privs    Assert.assertTrue(      "m0 has ADMIN on g0",      s1.access().has(s1, g0, Grouper.PRIV_ADMIN)    );    s1.stop();  }