public class OnErrorMatcher
extends org.hamcrest.TypeSafeMatcher<rx.Notification>
| Constructor and Description |
|---|
OnErrorMatcher(org.hamcrest.Matcher<? extends java.lang.Throwable> errorMatcher)
Constructs the matcher
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(rx.Notification item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(rx.Notification item) |
public OnErrorMatcher(org.hamcrest.Matcher<? extends java.lang.Throwable> errorMatcher)
errorMatcher - The matcher used to match the error of the onError Notificationprotected boolean matchesSafely(rx.Notification item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<rx.Notification>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(rx.Notification item,
org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<rx.Notification>