EventSink snk2 = new BenchmarkReportDecorator<EventSink>("report", snk);
EventSink snk3 = new BenchmarkInjectDecorator<EventSink>(snk2);
DirectDriver connect = new DirectDriver(src, snk3);
connect.start();
assertTrue(connect.join(5000));
snk2.getMetrics().toText(new OutputStreamWriter(System.err));
}
@Test
public void testSimpleBuilder() throws FlumeSpecException {