@Test( //timeOut = 1000,
expectedExceptions = Error.class,
description = "Tests that network detects deadlocks when no component is processing packages")
public void deadlock() {
runNetworkDefinition(new NetworkDefiner() {
{
component("generator 1", IntegerGenerator.class);
component("generator 2", IntegerGenerator.class);
component("ss 1", MarkSubstream.class);
component("ss 2", MarkSubstream.class);