base.addField(s, name, ft, read, write, req);
Field f = base.addField(s, name, ft, read, write, req);
  public void testAddFieldToNaming() {    GrouperSession  s     = null;    String          type  = "naming";    String          name  = "customField";    FieldType       ft    = FieldType.LIST;    Privilege       read  = AccessPrivilege.VIEW;    Privilege       write = AccessPrivilege.UPDATE;    boolean         req   = false;    try {      GroupType base = GroupTypeFinder.find(type);      s = SessionHelper.getRootSession();      base.addField(s, name, ft, read, write, req);      Assert.fail("added field to naming type");     }    catch (InsufficientPrivilegeException eIP) {      Assert.fail("unexpected exception: " + eIP.getMessage());    }    catch (SchemaException eS) {      Assert.assertTrue("cannot add to naming", true);    }    finally {      SessionHelper.stop(s);    }  } // public void testAddFieldToNaming()