<@U0BFDUP0E> The observable itself works outside o...
# android
d
@jw The observable itself works outside of tests:
Copy code
return if (userId != null) {
            the normal observable
        } else {
            Observable.error(NotLoggedInException())
        }
The error handling itself doesn’t do anything:
{ error -> Log.e("presenter", error.message) }
So I’m wondering if it’s my test code:
thenReturn(Observable.error(NotLoggedInException())
The only other difference is using Schedulers.immediate() in test.