@Test
public void testPut() throws IOException {
MultiMap<Object, Object> mm = getMultiMap();
final SimpleClient client = getClient();
client.send(new PutRequest(name, ss.toData("key1"), ss.toData("value1"), -1, getThreadId()));
boolean result = (Boolean) client.receive();
assertTrue(result);
assertEquals("value1", mm.get("key1").iterator().next());
client.send(new PutRequest(name, ss.toData("key1"), ss.toData("value1"), -1, getThreadId()));
result = (Boolean) client.receive();
assertFalse(result);
assertEquals(1, mm.size());