private void failingListenerTest( FailingFlowListener.OnFail onFail ) throws Exception
{
getPlatform().copyFromLocal( inputFileLower );
getPlatform().copyFromLocal( inputFileUpper );
Tap sourceLower = new Hfs( new TextLine( new Fields( "offset", "line" ) ), inputFileLower );
Tap sourceUpper = new Hfs( new TextLine( new Fields( "offset", "line" ) ), inputFileUpper );
Map sources = new HashMap();
sources.put( "lower", sourceLower );
sources.put( "upper", sourceUpper );
Function splitter = new RegexSplitter( new Fields( "num", "char" ), " " );
// using null pos so all fields are written
Tap sink = new Hfs( new TextLine(), getOutputPath( onFail + "/stopped" ), true );
Pipe pipeLower = new Each( new Pipe( "lower" ), new Fields( "line" ), splitter );
if( onFail == FailingFlowListener.OnFail.THROWABLE )
{