@Override
            public void receive(Event[] events) {
                EventPrinter.print(events);
                eventArrived = true;
                for (Event event : events) {
                    count++;
                    AssertJUnit.assertTrue("IBM".equals(event.getData(0)) || "WSO2".equals(event.getData(0)));
                }
            }
To not enable stats if no Stats manager enabled
modules/siddhi-core/src/test/java/io/siddhi/core/managment/StatisticsTestCase.java