Serializable
, org.hamcrest.SelfDescribing
public class ExpectationError extends Error implements org.hamcrest.SelfDescribing
Modifier and Type | Field | Description |
---|---|---|
org.hamcrest.SelfDescribing |
expectations |
|
Invocation |
invocation |
Constructor | Description |
---|---|
ExpectationError(String message,
org.hamcrest.SelfDescribing expectations,
Invocation invocation) |
Modifier and Type | Method | Description |
---|---|---|
void |
describeTo(org.hamcrest.Description description) |
|
static ExpectationError |
notAllSatisfied(org.hamcrest.SelfDescribing expectations) |
|
String |
toString() |
|
static ExpectationError |
unexpected(String message,
Invocation invocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public 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.SelfDescribing
Copyright © 2003–2018 jMock. All rights reserved.