Skip to content

Instantly share code, notes, and snippets.

@jdrider
jdrider / BluetoothTest.java
Created August 3, 2017 16:06
Example unit test using MockRxAndroidBle to write to a characteristic
import android.bluetooth.BluetoothGattCharacteristic;
import com.polidea.rxandroidble.RxBleClient;
import com.polidea.rxandroidble.RxBleConnection;
import com.polidea.rxandroidble.RxBleDevice;
import com.polidea.rxandroidble.mockrxandroidble.RxBleClientMock;
import org.junit.Before;
import org.junit.Test;