public void testOneJob4() throws IOException
{
Map sources = new HashMap();
Map sinks = new HashMap();
sources.put( "a", new Hfs( new TextLine( new Fields( "first", "second" ) ), "input/path/a" ) );
sources.put( "b", new Hfs( new TextLine( new Fields( "third", "fourth" ) ), "input/path/b" ) );
Pipe pipeA = new Pipe( "a" );
Pipe pipeB = new Pipe( "b" );
Pipe cogroup = new CoGroup( pipeA, new Fields( 1 ), pipeB, new Fields( 1 ) );
cogroup = new Each( cogroup, new Identity() );
sinks.put( cogroup.getName(), new Hfs( new TextLine( new Fields( 0, 1 ) ), "output/path" ) );
List steps = getPlatform().getFlowConnector().connect( sources, sinks, cogroup ).getFlowSteps();
assertEquals( "wrong size", 1, steps.size() );