assertThat(input(b0.getBlockInputs()), is(gen.inputs()));
assertThat(output(b0.getBlockOutputs()), is(gen.outputs()));
FlowBlock b1 = path.createBlock(gen.toGraph(), 0, false, true);
assertThat(b1.getElements(), is(gen.getAsSet("out")));
assertThat(input(b1.getBlockInputs()), is(gen.inputs("out")));
assertThat(output(b1.getBlockOutputs()), is(gen.outputs()));
FlowBlock b2 = path.createBlock(gen.toGraph(), 0, true, false);
assertThat(b2.getElements(), is(gen.getAsSet("in")));
assertThat(input(b2.getBlockInputs()), is(gen.inputs()));