@Test
public void addWithArrayEmptyArrayNoException() throws BufferException {

    byte[] data = new byte[0];      // create zero length buffer
    ByteBuffer buffer = new ByteBuffer(1);
    buffer.add(data);           // this should succeed with no exception
}