public void testSimple() throws Exception
{
MockInputPipe inputTemplate = new MockInputPipe("Hello $REPLACE(A)$, hello $REPLACE(B)$!");
ColumnMetadata colA = new SimpleColumnMetadata("A", TupleTypes._STRING, 0, 0, 0);
ColumnMetadata colB = new SimpleColumnMetadata("B", TupleTypes._DOUBLE, 0, 0, 0);
TupleMetadata metadata = new SimpleTupleMetadata(Arrays.asList(colA, colB));
Tuple tuple1 = new SimpleTuple(Arrays.<Object>asList("Amy", 0));
Tuple tuple2 = new SimpleTuple(Arrays.<Object>asList("Ally", 1.0));
Tuple tuple3 = new SimpleTuple(Arrays.<Object>asList("Radek", 2.0));
MockInputPipe inputData = new MockInputPipe(new Object[] {