Hm, I get that for MockBluetooth.getDefaultAdapter() it makes sense to use MockDOMRequest, since the original method returns DOMRequest.

But original BluetoothTransfer.sendFile() is a void function, it does not return anything. It simply performs some async task and then calls NfcHandoverManager.transferComplete(). Why is it bad to use setTimeout() to fake that?