    @Test
    public void adaptEmptyByteArray() {

        byte[] onlyHeaders = {1, 2};
        byte[] adapted = FTDISerialDevice.adaptArray(onlyHeaders);
        Assert.assertEquals("Should be empty", 0, adapted.length);
        byte[] adaptAgain = FTDISerialDevice.adaptArray(onlyHeaders);
        Assert.assertSame("Should be the same instance of empty array", adapted, adaptAgain);
    }