### Question:
ModifyDNChangeRecordEntry extends ChangeRecordEntry { public boolean deleteOldRDN() { return deleteOldRDN; } ModifyDNChangeRecordEntry(DN dn, RDN newRDN, boolean deleteOldRDN,
                                   DN newSuperiorDN); RDN getNewRDN(); DN getNewSuperiorDN(); boolean deleteOldRDN(); ChangeOperationType getChangeOperationType(); @Override String toString();  }### Answer:
@Test public void testDeleteOldRDNFalse() throws Exception { ModifyDNChangeRecordEntry entry = new ModifyDNChangeRecordEntry(DN.rootDN(), newRDN, false, newSuperiorDN); Assert.assertEquals(entry.deleteOldRDN(), false); }
@Test public void testDeleteOldRDNTrue() throws Exception { ModifyDNChangeRecordEntry entry = new ModifyDNChangeRecordEntry(DN.rootDN(), newRDN, true, newSuperiorDN); Assert.assertEquals(entry.deleteOldRDN(), true); }