this.reservoir.putBuffer(ByteBuffer.allocate(newCapacity));
<BUG>assertEquals(1, reservoir.buffers.size());
</BUG>
this.reservoir.getBuffer();
<BUG>assertEquals(0, this.reservoir.buffers.size());
</BUG>
bb = this.reservoir.getBuffer();
assertEquals(newCapacity, bb.capacity());
<BUG>assertEquals(0, this.reservoir.buffers.size());
</BUG>
this.reservoir.putBuffer(ByteBuffer.allocate(maxByteBufferSizeToCache * 2));

this.reservoir.putBuffer(ByteBuffer.allocate(newCapacity));
assertEquals(1, reservoir.getQueueSize());
this.reservoir.getBuffer();
assertEquals(0, this.reservoir.getQueueSize());
bb = this.reservoir.getBuffer();
assertEquals(newCapacity, bb.capacity());
assertEquals(0, this.reservoir.getQueueSize());
