*
* @throws InterruptedException
*/
@Test
public void checkSynth() throws IOException, InterruptedException {
EventSource src = new SynthSource(5, 10, 1337);
Event e = null;
EventSink snk = new ConsoleEventSink(new AvroJsonOutputFormat());
MemorySinkSource mem = new MemorySinkSource();
while ((e = src.next()) != null) {
snk.append(e); // visual inspection
mem.append(e); // testing
}
mem.open();