EventSink snk = FlumeBuilder.buildSink(new ReportTestingContext(
LogicalNodeContext.testingContext()), spec);
EventSource src = MemorySinkSource.cannedData("test ", 5);
snk.open();
src.open();
EventUtil.dumpAll(src, snk);
src.close();
snk.close();
CounterSink cnt = (CounterSink) ReportManager.get().getReportable(