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

    ByteBuffer buffer = createCircledByteBuffer(TEST_BYTES1.length);
    // most difficult case where the offset is off by 1
    buffer.add(TEST_BYTES1, TEST_BYTES1.length, 0);
}