stype.setRest(true);
literal.setOutputDescriptor(new ListSType(stype), null);
ProcessingElementNode node2 = new ProcessingElementNode("2");
node2.addAnnotation(AnnotationKeys.LOCATION, mLocation);
literal.connectOutput("output", 0, node2.getInput("input", 0));
Graph graph = new Graph();
graph.add(literal);
graph.add(node2);
ExchangeFactory factory = new TestExchangeFactory();
ProcessingElementMapper mapper = new SimpleProcessingElementMapper();
PartitionedGraphToWorkflows toWF =
new PartitionedGraphToWorkflows(factory, factory, mapper, null);
try