public abstract class EventsRule<T>
extends java.lang.Object
implements org.junit.rules.TestRule
| Constructor and Description |
|---|
EventsRule() |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
protected void |
capture(T event) |
java.util.List<T> |
getCapturedEvents() |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRulepublic java.util.List<T> getCapturedEvents()
protected void capture(T event)