@Test
public void testExceptionName() {

    RuntimeException exc = new RuntimeException("whoops");
    Event err = new Event(exc, config, handledState, NoopLogger.INSTANCE);
    err.getErrors().get(0).setErrorClass("Busgang");
    assertEquals("Busgang", err.getErrors().get(0).getErrorClass());
}