pipe = new Each( pipe, new Fields( "ip" ), new TestFunction( new Fields( "test" ), null ), Fields.ALL );
pipe = new GroupBy( pipe, new Fields( "ip" ) );
pipe = new Pipe( "first", pipe );
pipe = new Every( pipe, new Count(), new Fields( "ip", "count" ) );
pipe = new Pipe( "second", pipe );
pipe = new Every( pipe, new Count( new Fields( "count2" ) ), new Fields( "ip", "count", "count2" ) );
Tap sink = getPlatform().getTextFile( "foosink" );
Tap trap = getPlatform().getTextFile( "footrap" );
Map<String, Tap> sources = new HashMap<String, Tap>();