https://kotlinlang.org logo
#rx
Title
a

arekolek

09/09/2019, 6:07 PM
.assertEmpty()
Assert that the TestObserver/TestSubscriber has received a Disposable but no other events.
You probably want:
test().assertNoValues().assertComplete()
to test for
Maybe.empty
, since
Maybe.just(Unit).test().assertComplete()
would still pass.