@Test
public void event_objects_are_serializable() throws Exception {

    DummyListener target = mock(DummyListener.class);
    MessageSender<Event<DummyListener>> backend = eventizer.newBackend(target);
    frontend.onSomething("param");
    Event<DummyListener> original = queue.poll();
    Event<DummyListener> deserialized = deserialize(serialize(original));
    backend.send(deserialized);
    verify(target).onSomething("param");
}