memcachedClient.set("name", 0, "dennis");
assertEquals("dennis", memcachedClient.get("name"));
CountDownLatch latch = new CountDownLatch(1);
Command errorCommand = null;
if (memcachedClient.getProtocol() == Protocol.Text) {
errorCommand = new MockDecodeTimeoutTextGetOneCommand("name",
"name".getBytes(), CommandType.GET_ONE, latch, 1000);
} else {
errorCommand = new MockDecodeTimeoutBinaryGetOneCommand("name",
"name".getBytes(), CommandType.GET_ONE, latch, OpCode.GET,
false, 1000);