public boolean isFinished() {
        return unfinishedVertices.isEmpty();
    }
@Test
    public void regionIsUnfinishedIfNotAllVerticesAreFinished() {
        final PipelinedRegionExecutionView pipelinedRegionExecutionView =
                new PipelinedRegionExecutionView(TEST_PIPELINED_REGION);

        assertThat(pipelinedRegionExecutionView.isFinished()).isFalse();
    }