Created
October 6, 2019 17:00
-
-
Save talosdev/94336744d5b6e7b05e58e7fee0c5eb25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
fun `hot observable to single with firstOrError with extracted method`() { | |
val observable = Observable.fromIterable<Int>((1..5).toList()) | |
assertObservableToSingle(observable, { firstOrError() } ) { | |
assertComplete() | |
assertValue(1) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment