@Override
            public void handleEventException(Throwable throwable, long l, Object o) {
                failedCount.incrementAndGet();
                failedCaught = true;
                log.info(o + ": properly handle event exception for bad event [sequence: " + l + ", failed: " +
                        failedCount + "]", throwable);
            }
Send 6 test events (2 valid -> 2 invalid -> 2 valid)

@param inputHandler input handler
@throws Exception
modules/siddhi-core/src/test/java/io/siddhi/core/stream/ExceptionHandlerTestCase.java