| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final boolean | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | appendTo(StringBuilder
the buffer to append to buffer, int how many times an actual invocation matched expected invocation matches)Add the error message to the buffer. |
| public int | Returns: how many time an expected invocation was actually invokedHow many time an expected invocation was actually invoked. |
| public String | |
| public boolean | Returns: if the actual invocation matched the expected invocationIf the actual invocation matched the expected invocation. |
| actualCount | back to summary |
|---|---|
| private final int actualCount | |
| matching | back to summary |
|---|---|
| private final boolean matching | |
| message | back to summary |
|---|---|
| private final String message | |
| ErrorMessage | back to summary |
|---|---|
| public ErrorMessage(boolean matching, String message, int actualCount) | |
| appendTo | back to summary |
|---|---|
| public void appendTo(StringBuilder buffer, int matches) Add the error message to the buffer.
| |
| getActualCount | back to summary |
|---|---|
| public int getActualCount() How many time an expected invocation was actually invoked.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() The actual invocation and its result.
| |
| isMatching | back to summary |
|---|---|
| public boolean isMatching() If the actual invocation matched the expected invocation. It will be used to write the final error message telling that some recording are matching but were already used.
| |