FlowBlock b0 = path.createBlock(gen.toGraph(), 0, true, true);
assertThat(b0.getElements(), is(gen.getAsSet("in", "out")));
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);