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

    ByteBuffer buffer = createCircledByteBuffer(100);
    buffer.add(TEST_BYTES1, 0, TEST_BYTES1.length+1);
}