List<ColumnMetadata> columns = new ArrayList<ColumnMetadata>();
columns.add(new SimpleColumnMetadata("A", TupleTypes._STRING, 0, 0, 0));
TupleMetadata metadata = new SimpleTupleMetadata(columns);
MockInputPipe data1Input = new MockInputPipe(new Object[] {
ControlBlock.LIST_BEGIN,
new MetadataWrapper(metadata),
new SimpleTuple(Arrays.asList("Rupert")),
new SimpleTuple(Arrays.asList("Ally")),
new SimpleTuple(Arrays.asList("Amy")),
ControlBlock.LIST_END
});
MockInputPipe data2Input = new MockInputPipe(new Object[] {
ControlBlock.LIST_BEGIN,
new MetadataWrapper(metadata),
new SimpleTuple(Arrays.asList("Robert")),
new SimpleTuple(Arrays.asList("Ali")),
new SimpleTuple(Arrays.asList("Annie")),
ControlBlock.LIST_END
});