public class ErrorMessage extends Object
| Constructor and Description |
|---|
ErrorMessage(boolean matching,
String message,
int actualCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(StringBuilder buffer,
int matches)
Add the error message to the buffer.
|
int |
getActualCount()
How many time an expected invocation was actually invoked.
|
String |
getMessage()
The actual invocation and its result.
|
boolean |
isMatching()
If the actual invocation matched the expected invocation.
|
public ErrorMessage(boolean matching,
String message,
int actualCount)
public boolean isMatching()
public String getMessage()
public int getActualCount()
public void appendTo(StringBuilder buffer, int matches)
buffer - the buffer to append tomatches - how many times an actual invocation matched expected invocationCopyright © 2001–2024 EasyMock contributors. All rights reserved.