public class AtMost extends Object implements VerificationMode
| Constructor and Description |
|---|
AtMost(int maxNumberOfInvocations) |
| Modifier and Type | Method and Description |
|---|---|
VerificationMode |
description(String description)
Description will be prepended to the assertion error if verification fails.
|
void |
verify(VerificationData data) |
public void verify(VerificationData data)
verify in interface VerificationModepublic VerificationMode description(String description)
VerificationModedescription in interface VerificationModedescription - The custom failure message