Guys, sorry if off-topic here, but I got no Idea h...
# android
o
Guys, sorry if off-topic here, but I got no Idea how to fix this, I'm trying to unit test a delayed subscription, basically this is what I do:
Copy code
aFunctionReturningASingle(userProfileCacheInteractor)
                .delay(TimeValues.MEDIUM.toLong(), TimeUnit.MILLISECONDS)
                .subscribeOn(executionThreads.computation())
                .observeOn(executionThreads.ui())
                .doOnSuccess { userProfile ->
                    showKey(userProfile.digitalKey).subscribeEmpty()
                }
                .subscribe({},{})