@Test
public void testGetOriginalError() {

    RuntimeException testRuntimeException = new RuntimeException("Something went wrong");
    Event testEvent = new Event(testRuntimeException, config,
        handledState, NoopLogger.INSTANCE);
    Throwable outException = testEvent.getOriginalError();
    assertEquals(testRuntimeException, outException);
}