ArrayList<ByteString> values = new ArrayList<ByteString>();
values.add(ByteString.valueOf("foo"));
LDAPAttribute attr = new LDAPAttribute("description", values);
ArrayList<RawModification> mods = new ArrayList<RawModification>();
mods.add(new LDAPModification(ModificationType.REPLACE, attr));
ModifyOperation modifyOperation =
new ModifyOperationBasis(conn, conn.nextOperationID(), conn.nextMessageID(),
null, ByteString.empty(), mods);
assertNotNull(modifyOperation.getEntryDN());