Jul 23, 2017 · 1 min read
If you use RxJava 2 there is build in method test() for Observables/ Flowables https://github.com/ReactiveX/RxJava/wiki/What’s-different-in-2.0#testing, so you don’t need to set your TestSubscriber/TestObserver from outside.
