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