com.github.dreamhead.moco.monitor.verification
Class AbstractVerification

java.lang.Object
  extended by com.github.dreamhead.moco.monitor.verification.AbstractVerification
All Implemented Interfaces:
VerificationMode
Direct Known Subclasses:
AtLeastVerification, AtMostVerification, TimesVerification

public abstract class AbstractVerification
extends java.lang.Object
implements VerificationMode


Field Summary
protected  int count
           
 
Constructor Summary
AbstractVerification(int count)
           
 
Method Summary
protected abstract  boolean meet(int size)
           
 void verify(VerificationData data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

protected final int count
Constructor Detail

AbstractVerification

public AbstractVerification(int count)
Method Detail

meet

protected abstract boolean meet(int size)

verify

public void verify(VerificationData data)
Specified by:
verify in interface VerificationMode