I'm trying to create automated tests for Android which would emulate Bluetooth communication.
Mockito and DexMaker are working ok but not in this case since good part of the Bluetooth API is consisted of final classes which Mockito can't mock nor spy. That lead me to PowerMock+Mockito combo which should work with private/final/static but AFAIK and saw, it's not Android friendly (not using DexMaker).
Is there any solution for mocking final classes on Android? It would be great if tests could be run on real devices and emulator.