LOG.info("testAddFieldDuplicateName");
  public void testAddFieldDuplicateName() {    GrouperSession  s     = null;    String          type  = "customType.2";    String          name  = "customField";    FieldType       ft    = FieldType.LIST;     Privilege       read  = AccessPrivilege.VIEW;    Privilege       write = AccessPrivilege.UPDATE;    boolean         req   = false;    try {      s = SessionHelper.getRootSession();      GroupType custom = GroupType.createType(s, type);      Field f = custom.addField(s, name, ft, read, write, req);      Assert.assertTrue("added LIST field", true);      try {        Field f1 = custom.addField(s, name, FieldType.ATTRIBUTE, read, write, req);        Assert.fail("added duplicate field name");      }      catch (SchemaException eS) {        Assert.assertTrue("cannot add duplicate field name", true);      }    }    catch (InsufficientPrivilegeException eIP) {      Assert.fail("unexpected exception: " + eIP.getMessage());    }    catch (SchemaException eS) {      Assert.fail("unexpected exception: " + eS.getMessage());    }    finally {      SessionHelper.stop(s);    }  } // public void testAddFieldDuplicateName()