public class Calls extends Object implements VerificationMode, VerificationInOrderMode
Constructor and Description |
---|
Calls(int wantedNumberOfInvocations) |
Modifier and Type | Method and Description |
---|---|
VerificationMode |
description(String description)
Description will be prepended to the assertion error if verification fails.
|
String |
toString() |
void |
verify(VerificationData data) |
void |
verifyInOrder(VerificationDataInOrder data) |
public void verify(VerificationData data)
verify
in interface VerificationMode
public void verifyInOrder(VerificationDataInOrder data)
verifyInOrder
in interface VerificationInOrderMode
public VerificationMode description(String description)
VerificationMode
description
in interface VerificationMode
description
- The custom failure message