@Test
public void generates_event_classes() throws IOException {

    List<GeneratedClass> events = generator.getEvents();
    assertClassEquals("fi.jumi.actors.generator.reference.dummyListener.OnOtherEvent", events.get(0));
    assertClassEquals("fi.jumi.actors.generator.reference.dummyListener.OnSomethingEvent", events.get(1));
}