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 VerificationMode
public VerificationMode description(String description)
VerificationMode
description
in interface VerificationMode
description
- The custom failure message