mm.put("key2", "value1");
mm.put("key2", "value2");
final SimpleClient client = getClient();
client.send(new RemoveAllRequest(name, ss.toData("key1"), getThreadId()));
PortableCollection result = (PortableCollection) client.receive();
Collection<Data> coll = result.getCollection();
assertEquals(1, coll.size());
assertEquals("value1", ss.toObject(coll.iterator().next()));
client.send(new RemoveAllRequest(name, ss.toData("key2"), getThreadId()));
result = (PortableCollection) client.receive();
coll = result.getCollection();
assertEquals(2, coll.size());
assertEquals(0, mm.size());
}