@NonNull
    private Observable<ScanResult> createScanOperation(ScanSettings scanSettings, final ScanFilter... scanFilters) {
        return discoveredDevicesSubject
                .map(new Function<RxBleDeviceMock, ScanResult>() {
                    @Override
                    public ScanResult apply(RxBleDeviceMock rxBleDeviceMock) {
                        return RxBleClientMock.this.createScanResult(rxBleDeviceMock);
                    }
                })
                .filter(new Predicate<ScanResult>() {
                    @Override
                    public boolean test(ScanResult scanResult) {
                        for (ScanFilter filter : scanFilters) {
                            if (!filter.matches((RxBleScanResultMock) scanResult)) {
                                return false;
                            }
                        }
                        return true;
                    }
                });
    }
Create the  {@link List} of {@link BluetoothGattDescriptor} using the configured values.
mockrxandroidble/src/main/java/com/polidea/rxandroidble2/mockrxandroidble/RxBleClientMock.java