public class ExpectationError
extends java.lang.Error
implements org.hamcrest.SelfDescribing
Modifier and Type | Field and Description |
---|---|
org.hamcrest.SelfDescribing |
expectations |
Invocation |
invocation |
Constructor and Description |
---|
ExpectationError(java.lang.String message,
org.hamcrest.SelfDescribing expectations,
Invocation invocation) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
static ExpectationError |
notAllSatisfied(org.hamcrest.SelfDescribing expectations) |
java.lang.String |
toString() |
static ExpectationError |
unexpected(java.lang.String message,
Invocation invocation) |
public final org.hamcrest.SelfDescribing expectations
public final Invocation invocation
public ExpectationError(java.lang.String message, org.hamcrest.SelfDescribing expectations, Invocation invocation)
public static ExpectationError unexpected(java.lang.String message, Invocation invocation)
public static ExpectationError notAllSatisfied(org.hamcrest.SelfDescribing expectations)
public java.lang.String toString()
toString
in class java.lang.Throwable
public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing