ArrayList<ByteString> values = new ArrayList<ByteString>();
values.add(ByteString.valueOf("organizationalUnit"));
LDAPAttribute attr = new LDAPAttribute("objectClass", values);
ArrayList<RawModification> mods = new ArrayList<RawModification>();
mods.add(new LDAPModification(ModificationType.DELETE, attr));
ModifyOperation modifyOperation =
conn.processModify(ByteString.valueOf("ou=People," + baseDN), mods);
assertFalse(modifyOperation.getResultCode() == ResultCode.SUCCESS);
retrieveFailedOperationElements(modifyOperation);