public void testPrependEncode() {
Command command = this.commandFactory.createPrependCommand(key, key
.getBytes(), value, false, transcoder);
assertNull(command.getIoBuffer());
command.encode();
checkByteBufferEquals(command, "prepend test 0 0 2\r\n10\r\n");
command = this.commandFactory.createPrependCommand(key, key.getBytes(),
value, true, transcoder);
assertNull(command.getIoBuffer());