@Test public void eventOrderingIsPredictable() {
    EventProcessor processor = new EventProcessor();
    bus.register(processor);

    EventRecorder recorder = new EventRecorder();
    bus.register(recorder);

    bus.post(FIRST);

    assertEquals("EventRecorder expected events in order",
        Arrays.<Object>asList(FIRST, SECOND), recorder.eventsReceived);
  }
Validate that {@link Bus} behaves carefully when listeners publish
their own events.

@author Jesse Wilson
otto/src/test/java/com/squareup/otto/ReentrantEventsTest.java