Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. @Test
  2. public void testEmptyFlowableToSingle() {
  3. Flowable.empty()
  4. .flatMapSingle(o -> Single.just("result"))
  5. .test()
  6. .assertValueCount(0)
  7. .assertNoErrors();
  8. //There should have been an error
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement