01: package junit.support;
02:
03: import java.util.LinkedList;
04: import java.util.List;
05:
06: /**
07: * Abstract class that records events
08: *
09: * @author <a href="mailto:manik@jboss.org">Manik Surtani</a>
10: */
11: public abstract class EventRecorder {
12: protected List<MethodInvocation> events = new LinkedList<MethodInvocation>();
13:
14: public List<MethodInvocation> getEvents() {
15: return events;
16: }
17: }
|