}
Assert.assertTrue("Must throw EventDeliveryException if disconnected",
threwException);
}
src = new ThriftTestingSource(ThriftTestingSource.HandlerType.OK.name(),
port);
for (int i = 0; i < 5; i++) {
Sink.Status status = sink.process();
Assert.assertEquals(Sink.Status.READY, status);