@Test
public void testToString_shouldReturnCorrectString() throws Exception {

    Event event = new TestEvent("test");
    String eventString = event.toString();
    assertThat(eventString, containsString("class:" + event.getClass()));
    assertThat(eventString, containsString("int:5;"));        
    assertThat(eventString, containsString("name:test"));
}