public class Only extends Object implements VerificationMode
Constructor and Description |
---|
Only() |
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