assertEquals(modifyEncoded.getEntryDN(), modifyDecoded.getEntryDN());
assertEquals(modifyEncoded.getNewRDN(), modifyDecoded.getNewRDN());
assertEquals(modifyEncoded.getNewSuperior(), modifyDecoded.getNewSuperior());
assertEquals(modifyEncoded.deleteOldRDN(), modifyDecoded.deleteOldRDN());
builder.clear();
modifyEncoded = new ModifyDNRequestProtocolOp(dn, newRdn, true);
modifyEncoded.write(writer);
reader = ASN1.getReader(builder.toByteString());
modifyDecoded = (ModifyDNRequestProtocolOp)LDAPReader.readProtocolOp(reader);