Skip to content

Instantly share code, notes, and snippets.

@hkurokawa
Created November 10, 2016 11:31
Show Gist options
  • Save hkurokawa/cc963ec3bfac42f8c5344ce8b6406028 to your computer and use it in GitHub Desktop.
Save hkurokawa/cc963ec3bfac42f8c5344ce8b6406028 to your computer and use it in GitHub Desktop.
final Exception e = new Exception("Failure!");
Observable.just(1)
.zipWith(Observable.error(e), Pair::new)
.test()
.assertError(e);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment