List steps = getPlatform().getFlowConnector().connect( sources, sinks, splice ).getFlowSteps();
assertEquals( "wrong size", 1, steps.size() );
BaseFlowStep step = (BaseFlowStep) steps.get( 0 );
assertEquals( "not equal: step.sources.size()", 2, step.getSourceTaps().size() );
assertNotNull( "null: step.groupBy", step.getGroup() );
assertNotNull( "null: step.sink", step.getSink() );
Iterator<Tap> iterator = step.getSourceTaps().iterator();
int mapDist = countDistance( step.getElementGraph(), iterator.next(), step.getGroup() );
assertEquals( "not equal: mapDist", 0, mapDist );
mapDist = countDistance( step.getElementGraph(), iterator.next(), step.getGroup() );
assertEquals( "not equal: mapDist", 0, mapDist );
int reduceDist = countDistance( step.getElementGraph(), step.getGroup(), step.getSink() );
assertEquals( "not equal: reduceDist", 0, reduceDist );
}