@Test(expected=IllegalArgumentException.class)
public void addWithArrayWithOffsetAndTooLargeLength() throws BufferException {

    ByteBuffer buffer = createCircledByteBuffer(6);
    buffer.add(TEST_BYTES1, 5, TEST_BYTES1.length-4);
}