Subject subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT);
Subject subj = null; try { subj = SubjectFactory.getSubject(Constants.rootI, Constants.rootT); } catch (SubjectNotFoundException e1) {  e1.printStackTrace(); }
  public void testReplaceThenFetchDescSameSession() {    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 g0    GrouperGroup g0 = GrouperGroup.create(                         s, Constants.g0s, Constants.g0e                       );    // Set description    String text = "test description";    try {      g0.attribute("description", text);      Assert.assertTrue("add description to g0", true);    } catch (RuntimeException e) {      Assert.fail("add description to g0");    }    // Replace description    String textRep = "another test description";    try {      g0.attribute("description", textRep);      Assert.assertTrue("replace description for g0", true);    } catch (RuntimeException e) {      Assert.fail("replace description for g0");    }    // Load g0    GrouperGroup g  = GrouperGroup.load(                        s, Constants.g0s, Constants.g0e                      );    // Check values    GrouperAttribute setDesc = g.attribute("description");    Assert.assertNotNull("set description !null", setDesc);    Assert.assertTrue(      "set description class",       Constants.KLASS_GA.equals(setDesc.getClass().getName())     );    Assert.assertTrue(      "set description value", setDesc.value().equals(textRep)    );    Assert.assertNull("modifySource null", g.modifySource());    Assert.assertNotNull("modifySubject !null", g.modifySubject());    Assert.assertNotNull("modifyTime !null", g.modifyTime());    s.stop();  }