literal2.add(new Repeater(3, Arrays.asList(ListMarker.BEGIN, "Y", ListMarker.END)));
ProcessingElementNode node1 = new ProcessingElementNode("1");
node1.addAnnotation(AnnotationKeys.LOCATION, mLocation);
literal1.connectOutput("output", 0, node1.getInput("input1", 0));
literal2.connectOutput("output", 0, node1.getInput("input2", 0));
Graph graph = new Graph();
graph.add(literal1);
graph.add(literal2);
graph.add(node1);
ExchangeFactory factory = new TestExchangeFactory();
ProcessingElementMapper mapper = new SimpleProcessingElementMapper();
PartitionedGraphToWorkflows toWF =
new PartitionedGraphToWorkflows(factory, factory, mapper, null);
toWF.createWorkflows(graph);