LOG.info("testGetAttributeReturnTypes");
  public void testGetAttributeReturnTypes() {    GrouperSession s = null;    try {      s = SessionHelper.getRootSession();      String    type    = "customType.TGART";      GroupType custom  = GroupType.createType(s, type);      String    name    = "customField.TGART";      FieldType ft      = FieldType.ATTRIBUTE;       Privilege read    = AccessPrivilege.VIEW;      Privilege write   = AccessPrivilege.UPDATE;      boolean   req     = false;      Field     f       = custom.addField(s, name, ft, read, write, req);      Stem      root    = StemFinder.findRootStem(s);      Stem      edu     = root.addChildStem("edu", "edu");      Group     g       = edu.addChildGroup("g", "g");      try {        Assert.assertTrue(          "name", g.getAttribute("name").equals("edu:g")        );      }      catch (Exception e) {        Assert.fail("unexpected exception (name): " + e.getMessage());      }      try {        Assert.assertTrue(          "description", g.getAttribute("description").equals( new String() )        );      }      catch (Exception e) {        Assert.fail("unexpected exception (desc): " + e.getMessage());      }      try {        String fail = g.getAttribute(f.getName());        Assert.fail("retrieved schema-violating attribute");      }      catch (Exception e) {        Assert.assertTrue("failed to retrieve schema-violating attribute", true);      }    }    catch (Exception e) {      Assert.fail(e.getMessage());    }    finally {      SessionHelper.stop(s);    }  } // public void testGetAttributeReturnTypes() 