MockInputPipe inputSize = new MockInputPipe(2);
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));
Tuple tuple4 = new SimpleTuple(Arrays.<Object>asList("Adrian", 3.0));
Tuple tuple5 = new SimpleTuple(Arrays.<Object>asList("Rob", 4.0));
MockInputPipe inputData = new MockInputPipe(new Object[] {
ControlBlock.LIST_BEGIN,
new MetadataWrapper(metadata),
tuple1, tuple2, tuple3, tuple4, tuple5,
ControlBlock.LIST_END