private void sendTestInvalidEvents(InputHandler inputHandler) throws Exception {
        // Send 2 valid events
        inputHandler.send(new Object[]{"GOOD_0", 700.0f, 100L});
        Thread.sleep(100);
        inputHandler.send(new Object[]{"GOOD_1", 60.5f, 200L});
        Thread.sleep(100);
        try {
            // Send 2 invalid event
            inputHandler.send(new Object[]{"BAD_2", "EBAY", 200L});
            Thread.sleep(100);
            inputHandler.send(new Object[]{"BAD_3", "WSO2", 700f});
            Thread.sleep(100);
        } catch (Exception ex) {
            AssertJUnit.fail("Disruptor exception can't be caught by try-catch");
            throw ex;
        }
        // Send 2 valid events
        inputHandler.send(new Object[]{"GOOD_4", 700.0f, 100L});
        Thread.sleep(100);
        inputHandler.send(new Object[]{"GOOD_5", 60.5f, 200L});
        Thread.sleep(100);
    }
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