public class ExpectationError extends Error implements org.hamcrest.SelfDescribing
| Modifier and Type | Field and Description |
|---|---|
org.hamcrest.SelfDescribing |
expectations |
Invocation |
invocation |
| Constructor and Description |
|---|
ExpectationError(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) |
String |
toString() |
static ExpectationError |
unexpected(String message,
Invocation invocation) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic final org.hamcrest.SelfDescribing expectations
public final Invocation invocation
public ExpectationError(String message, org.hamcrest.SelfDescribing expectations, Invocation invocation)
public static ExpectationError unexpected(String message, Invocation invocation)
public static ExpectationError notAllSatisfied(org.hamcrest.SelfDescribing expectations)
public void describeTo(org.hamcrest.Description description)
describeTo in interface org.hamcrest.SelfDescribingCopyright © 2003–2022 jMock. All rights reserved.