I am trying to write junit test cases for my Bluetooth Code testing in android . My public method tries to call the buletooth adapter but its giving error like java.lang.RuntimeException: Method getDefaultAdapter in android.bluetooth.BluetoothAdapter not mocked.
any help would be highly appreciable.
Aucun commentaire:
Enregistrer un commentaire