Class CountingConsumer<T>
java.lang.Object
org.soliscode.test.util.CountingConsumer<T>
-
Constructor Details
-
CountingConsumer
public CountingConsumer()
-
-
Method Details
-
accept
-
count
public int count()Returns the number of times theaccept
method has been called.- Returns:
- the number of times the
accept
method has been called.
-