@NonNull
    private Observable<RxBleScanResult> createScanOperation(@Nullable final UUID[] filterServiceUUIDs) {
        return discoveredDevicesSubject
                .filter(new Predicate<RxBleDeviceMock>() {
                    @Override
                    public boolean test(RxBleDeviceMock rxBleDevice) {
                        return RxBleClientMock.filterDevice(rxBleDevice, filterServiceUUIDs);
                    }
                })
                .map(new Function<RxBleDeviceMock, RxBleScanResult>() {
                    @Override
                    public RxBleScanResult apply(RxBleDeviceMock rxBleDeviceMock) {
                        return RxBleClientMock.this.createRxBleScanResult(rxBleDeviceMock);
                    }
                });
    }
Create the  {@link List} of {@link BluetoothGattDescriptor} using the configured values.
mockrxandroidble/src/main/java/com/polidea/rxandroidble2/mockrxandroidble/RxBleClientMock.java