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 java.lang.Object implements VerificationMode
-
-
Field Summary
Fields Modifier and Type Field Description private VerificationMode
delegate
-
Constructor Summary
Constructors Modifier Constructor Description private
VerificationWrapper(VerificationMode delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Field Detail
-
delegate
private final VerificationMode delegate
-
-
Constructor Detail
-
VerificationWrapper
private VerificationWrapper(VerificationMode delegate)
-
-
Method Detail
-
verify
public void verify(VerificationData data)
Description copied from interface:VerificationMode
Performs the verification- Specified by:
verify
in interfaceVerificationMode
-
description
public VerificationMode description(java.lang.String 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
-
-