0x04, 0x05, 'u','i','d','=','j', // newRdn
0x01, 0x01, ( byte ) 0xFF // deleteOldRdn
} );
bb.flip();
SyncModifyDnDecorator decorator = new SyncModifyDnDecorator( codec );
SyncModifyDn syncmodDnControl = (SyncModifyDn)decorator.decode( bb.array() );
assertEquals( "uid=jim", syncmodDnControl.getEntryDn() );
assertEquals( "ou=dc", syncmodDnControl.getNewSuperiorDn() );
assertEquals( "uid=j", syncmodDnControl.getNewRdn() );
assertTrue( syncmodDnControl.isDeleteOldRdn() );