    @Test
    public void testOnError() {

        setupDescriptorSuccess();
        subscribeCommand.execute(device, operationCommandObserver, gatt);

        subscribeCommand.onError(BluetoothGatt.GATT_FAILURE);
        verifyCommandFail(subscribeCommand, BluetoothGatt.GATT_FAILURE);
    }