final Transfer transfer = LibUsb.allocTransfer(0);
assertEquals(0, transfer.type());
transfer.setType((byte) 1);
assertEquals(1, transfer.type());
transfer.setType((byte) 0);
assertEquals(0, transfer.type());
LibUsb.freeTransfer(transfer);
}
/**
* Tests the {@link Transfer#setTimeout(long)} and