Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Test
- public void testEmptyFlowableToSingle() {
- Flowable.empty()
- .flatMapSingle(o -> Single.just("result"))
- .test()
- .assertValueCount(0)
- .assertNoErrors();
- //There should have been an error
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement