-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
I think it would be useful if there was a fail method that would either compare the error that was thrown or the message. Something similar to the following:
assertThat(observable.toBlocking())
.failsWithError(new Throwable("Some error'))or
assertThat(observable.toBlocking())
.failsWithErrorMessage("Some error")