tuple1, tuple2, tuple3,
ControlBlock.LIST_END
});
activity.addInput("data", input);
MockOutputPipe output = new MockOutputPipe(new Object[] {});
activity.addOutput("result", output);
activity.process();
List actual = output.getActualBlocks();
assertEquals(1, actual.size());
PMMLDocument pmml = (PMMLDocument)actual.get(0);
PMMLToXMLCharArraysActivity toXML = new PMMLToXMLCharArraysActivity();
input = new MockInputPipe(pmml);
toXML.addInput("pmml", input);
output = new MockOutputPipe(new Object[] {});
toXML.addOutput("result", output);
toXML.process();
System.out.println(new String((char[])output.getActualBlocks().get(0)));
}