public class MockAwareVerificationMode extends Object implements VerificationMode
Constructor and Description |
---|
MockAwareVerificationMode(Object mock,
VerificationMode mode) |
Modifier and Type | Method and Description |
---|---|
VerificationMode |
description(String description)
Description will be prepended to the assertion error if verification fails.
|
Object |
getMock() |
void |
verify(VerificationData data) |
public MockAwareVerificationMode(Object mock, VerificationMode mode)
public void verify(VerificationData data)
verify
in interface VerificationMode
public Object getMock()
public VerificationMode description(String description)
VerificationMode
description
in interface VerificationMode
description
- The custom failure message