assertTrue(DirectoryServer.entryExists(DN.decode("ou=new entry,o=ldif")));
InternalClientConnection conn =
InternalClientConnection.getRootConnection();
ModifyDNOperation modifyDNOperation =
conn.processModifyDN("ou=new entry,o=ldif", "ou=People", true);
assertEquals(modifyDNOperation.getResultCode(),
ResultCode.ENTRY_ALREADY_EXISTS);
assertTrue(DirectoryServer.entryExists(DN.decode("ou=new entry,o=ldif")));
DeleteOperation deleteOperation = conn.processDelete("ou=new entry,o=ldif");