Assert.assertTrue("4 attrs", g.getAttributes().size() == 4);
Map attrs = g.getAttributes(); Assert.assertTrue( attrs.size() + " attributes (exp 5)", attrs.size() == 5 );
  protected static void testAttrs(Group exp, Group g) {    try {      LOG.debug("testAttrs.0");      Assert.assertTrue("4 attrs", g.getAttributes().size() == 4);      LOG.debug("testAttrs.1");      Assert.assertTrue(        "createSource", g.getCreateSource().equals("")      );      LOG.debug("testAttrs.2");      try {        Assert.assertTrue(          "createSubject", g.getCreateSubject() instanceof Subject        );      LOG.debug("testAttrs.3");      }      catch (SubjectNotFoundException eSNF) {        Assert.fail("no create subject: " + eSNF.getMessage());      }      Assert.assertTrue(        "createTime", g.getCreateTime() instanceof Date      );      LOG.debug("testAttrs.4");      try {        String desc = g.getAttribute("description");      LOG.debug("testAttrs.5");        Assert.fail("found description");/* TODO Change once I'm setting description        Assert.assertTrue(          "[i] description", g.getAttribute("description").equals(exp.getDescription())        );*/      }      catch (AttributeNotFoundException eTODO) {        Assert.assertTrue("no description found", true);      LOG.debug("testAttrs.6");      }      Assert.assertTrue(        "[d] description", g.getDescription().equals(exp.getDescription())      );      LOG.debug("testAttrs.7");      Assert.assertTrue(        "[i] displayName", g.getAttribute("displayName").equals(exp.getDisplayName())      );      LOG.debug("testAttrs.9");      Assert.assertTrue(        "[d] displayName", g.getDisplayName().equals(exp.getDisplayName())      );      LOG.debug("testAttrs.9");      Assert.assertTrue(        "[i] displayExtension", g.getAttribute("displayExtension").equals(exp.getDisplayExtension())      );      LOG.debug("testAttrs.10");      Assert.assertTrue(        "[d] displayExtension", g.getDisplayExtension().equals(exp.getDisplayExtension())      );      LOG.debug("testAttrs.11");      Assert.assertTrue(        "[i] extension", g.getAttribute("extension").equals(exp.getExtension())      );      LOG.debug("testAttrs.12");      Assert.assertTrue(        "[d] extension", g.getExtension().equals(exp.getExtension())      );      LOG.debug("testAttrs.13j");      Assert.assertTrue(        "modifySource", g.getModifySource().equals("")      );      LOG.debug("testAttrs.14");/* TODO Change once I'm setting description */      try {        Subject modder = g.getModifySubject();      LOG.debug("testAttrs.15");        Assert.fail("group modified");      }      catch (SubjectNotFoundException esNF) {        Assert.assertTrue("group not modified", true);      LOG.debug("testAttrs.16");      }      Assert.assertTrue(        "modifyTime", g.getModifyTime() instanceof Date      );      LOG.debug("testAttrs.17");      Assert.assertTrue(        "[i] name", g.getAttribute("name").equals(exp.getName())      );      LOG.debug("testAttrs.18");      Assert.assertTrue(        "[d] name", g.getName().equals(exp.getName())      );      LOG.debug("testAttrs.19");    }    catch (AttributeNotFoundException eANF) {      Assert.fail(eANF.getMessage());    }  } // protected static void testAttrs(exp, g)