public abstract class VerificationWrapper<WrapperType extends VerificationMode> extends Object implements VerificationMode
Modifier and Type | Field and Description |
---|---|
protected WrapperType |
wrappedVerification |
Constructor and Description |
---|
VerificationWrapper(WrapperType wrappedVerification) |
Modifier and Type | Method and Description |
---|---|
VerificationMode |
atLeast(int minNumberOfInvocations) |
VerificationMode |
atLeastOnce() |
VerificationMode |
atMost(int maxNumberOfInvocations) |
protected abstract VerificationMode |
copySelfWithNewVerificationMode(VerificationMode verificationMode) |
VerificationMode |
never() |
VerificationMode |
only() |
VerificationMode |
times(int wantedNumberOfInvocations) |
void |
verify(VerificationData data) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
description
protected final WrapperType extends VerificationMode wrappedVerification
public VerificationWrapper(WrapperType wrappedVerification)
public void verify(VerificationData data)
verify
in interface VerificationMode
protected abstract VerificationMode copySelfWithNewVerificationMode(VerificationMode verificationMode)
public VerificationMode times(int wantedNumberOfInvocations)
public VerificationMode never()
public VerificationMode atLeastOnce()
public VerificationMode atLeast(int minNumberOfInvocations)
public VerificationMode atMost(int maxNumberOfInvocations)
public VerificationMode only()