ObjectClass oc = DirectoryServer.getObjectClass("extensibleobject", true);
UpdatePreOpPlugin.addObjectClassToAdd(oc);
AddOperation addOperation =
conn.processAdd(entry.getDN(), entry.getObjectClasses(),
entry.getUserAttributes(),
entry.getOperationalAttributes());
assertEquals(addOperation.getResultCode(), ResultCode.SUCCESS);
retrieveCompletedOperationElements(addOperation);