StageModel analyzed = analyzer.analyze(target, null);
assertThat(analyzed.getMapUnits().size(), is(1));
assertThat(analyzed.getReduceUnits().size(), is(0));
MapUnit map = analyzed.getMapUnits().get(0);
assertThat(map.getFragments().size(), is(1));
Fragment fragment = map.getFragments().get(0);
assertThat(fragment.isRendezvous(), is(false));
assertThat(fragment.getInputPorts().size(), is(1));
assertThat(fragment.getOutputPorts().size(), is(1));
assertThat(fragment.getFactors().size(), is(1));