Package org.mockito.verification
Class VerificationWrapper<WrapperType extends VerificationMode>
java.lang.Object
org.mockito.verification.VerificationWrapper<WrapperType>
- All Implemented Interfaces:
VerificationMode
public abstract class VerificationWrapper<WrapperType extends VerificationMode>
extends Object
implements VerificationMode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatLeast
(int minNumberOfInvocations) atMost
(int maxNumberOfInvocations) protected abstract VerificationMode
copySelfWithNewVerificationMode
(VerificationMode verificationMode) never()
only()
times
(int wantedNumberOfInvocations) void
verify
(VerificationData data)
-
Field Details
-
wrappedVerification
-
-
Constructor Details
-
VerificationWrapper
-
-
Method Details
-
verify
- Specified by:
verify
in interfaceVerificationMode
-
copySelfWithNewVerificationMode
protected abstract VerificationMode copySelfWithNewVerificationMode(VerificationMode verificationMode) -
times
-
never
-
atLeastOnce
-
atLeast
-
atMost
-
only
-