finally
{
InternalClientConnection conn =
InternalClientConnection.getRootConnection();
DeleteOperation deleteOperation =
conn.processDelete(DN.decode(ruleDN));
assertEquals(deleteOperation.getResultCode(), ResultCode.SUCCESS);
deleteOperation = conn.processDelete(DN.decode(policyDN));
assertEquals(deleteOperation.getResultCode(), ResultCode.SUCCESS);
}
}