* 3グループでのテスト。
*/
@Test
public void op3() {
List<StageModel> stages = compile(CoGroupFlowOp3.class);
StageModel stage = stages.get(0);
Assume.assumeThat(stage.getReduceUnits().size(), is(1));
ReduceUnit reduce = stage.getReduceUnits().get(0);
Fragment fragment = reduce.getFragments().get(0);
Name name = fragment.getCompiled().getQualifiedName();
ClassLoader loader = start();
PortMapper mapper = new PortMapper(fragment);
MockResult<Ex1> r1 = mapper.create("r1");
MockResult<Ex1> r2 = mapper.create("r2");
MockResult<Ex1> r3 = mapper.create("r3");
@SuppressWarnings("unchecked")
Rendezvous<Writable> f = (Rendezvous<Writable>) create(loader, name, mapper.toArguments());
Segment s1 = stage.getShuffleModel().findSegment(fragment.getInputPorts().get(0));
Segment s2 = stage.getShuffleModel().findSegment(fragment.getInputPorts().get(1));
Segment s3 = stage.getShuffleModel().findSegment(fragment.getInputPorts().get(2));
SegmentedWritable value = createShuffleValue(loader, stage);
Ex1 ex1 = new Ex1();
ex1.setStringAsString("string");