protected void setUp() throws Exception {
this.collector = new SimpleCollector();
}
public void testCollectAndFIFOOrder() throws Exception {
PayloadEvent e1 = new PayloadEvent(this, new String("test-1"), null);
PayloadEvent e2 = new PayloadEvent(this, new String("test-2"), null);
PayloadEvent e3 = new PayloadEvent(this, new String("test-3"), null);
this.collector.onApplicationEvent(e1);
this.collector.onApplicationEvent(e2);
this.collector.onApplicationEvent(e3);