Class VerificationWrapper<WrapperT extends VerificationMode>
java.lang.Object
org.mockito.internal.verification.VerificationWrapper<WrapperT>
- All Implemented Interfaces:
VerificationMode
public abstract class VerificationWrapper<WrapperT extends VerificationMode>
extends Object
implements VerificationMode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatLeast(int minNumberOfInvocations) atMost(int maxNumberOfInvocations) protected abstract VerificationModecopySelfWithNewVerificationMode(VerificationMode verificationMode) never()only()times(int wantedNumberOfInvocations) voidverify(VerificationData data) Performs the verificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mockito.verification.VerificationMode
description
-
Field Details
-
wrappedVerification
-
-
Constructor Details
-
VerificationWrapper
-
-
Method Details
-
verify
Description copied from interface:VerificationModePerforms the verification- Specified by:
verifyin interfaceVerificationMode
-
copySelfWithNewVerificationMode
protected abstract VerificationMode copySelfWithNewVerificationMode(VerificationMode verificationMode) -
times
-
never
-
atLeastOnce
-
atLeast
-
atMostOnce
-
atMost
-
only
-