@Test(expected = BufferOverflowException.class)
public void nextBufferBufferOverFlow() {

  bufferStore.availableBuffers = queue;
  doReturn(null).when(queue).poll();
  bufferStore.nextBuffer();
  verify(queue).poll();
}