private static boolean maskedDataEquals(@NonNull byte[] data1, @NonNull byte[] data2, @Nullable byte[] mask) {
        if (mask == null) {
            return Arrays.equals(data1, data2);
        } else {
            if (data1.length != data2.length || data1.length != mask.length) {
                return false;
            }
            for (int i = 0; i < data1.length; i++) {
                if ((data1[i] & mask[i]) != (data2[i] & mask[i])) {
                    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