Package org.mockito.internal.junit
Class VerificationCollectorImpl.VerificationWrapper
java.lang.Object
org.mockito.internal.junit.VerificationCollectorImpl.VerificationWrapper
- All Implemented Interfaces:
VerificationMode
- Enclosing class:
VerificationCollectorImpl
private class VerificationCollectorImpl.VerificationWrapper
extends Object
implements VerificationMode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) Description will be prepended to the assertion error if verification fails.void
verify
(VerificationData data) Performs the verification
-
Field Details
-
delegate
-
-
Constructor Details
-
VerificationWrapper
-
-
Method Details
-
verify
Description copied from interface:VerificationMode
Performs the verification- Specified by:
verify
in interfaceVerificationMode
-
description
Description copied from interface:VerificationMode
Description will be prepended to the assertion error if verification fails.- Specified by:
description
in interfaceVerificationMode
- Parameters:
description
- The custom failure message- Returns:
- VerificationMode
-