public void testOptimiezeSetLimitBuffer() {
this.optimiezer = new Optimizer(Protocol.Binary);
this.commandFactory = new BinaryCommandFactory();
this.writeQueue = new LinkedTransferQueue<Command>();
this.executingCmds = new LinkedTransferQueue<Command>();
SerializingTranscoder transcoder = new SerializingTranscoder();
int oneBufferSize = 0;
for (int i = 0; i < 10; i++) {
Command cmd = this.commandFactory.createSetCommand(
String.valueOf(i), String.valueOf(i).getBytes(), 0, i,
false, transcoder);