public void testStoreNoReply() throws Exception {
memcachedClient.replaceWithNoReply("name", 0, 1);
assertNull(memcachedClient.get("name"));
memcachedClient.setWithNoReply("name", 1, "dennis",
new StringTranscoder());
assertEquals("dennis", memcachedClient.get("name"));
Thread.sleep(2000);
assertNull(memcachedClient.get("name"));
memcachedClient.setWithNoReply("name", 0, "dennis",
new StringTranscoder());
memcachedClient.appendWithNoReply("name", " zhuang");
memcachedClient.prependWithNoReply("name", "hello ");
assertEquals("hello dennis zhuang", memcachedClient.get("name"));
memcachedClient.addWithNoReply("name", 0, "test",
new StringTranscoder());
assertEquals("hello dennis zhuang", memcachedClient.get("name"));
memcachedClient.replaceWithNoReply("name", 0, "test",
new StringTranscoder());
assertEquals("test", memcachedClient.get("name"));
memcachedClient.setWithNoReply("a", 0, 1);
GetsResponse<Integer> getsResponse = memcachedClient.gets("a");
memcachedClient.casWithNoReply("a", 0, getsResponse,