}
}
public void testRepeat() throws Exception
{
LiteralValuesNode literal1 = new LiteralValuesNode();
literal1.addAnnotation(AnnotationKeys.LOCATION, mLocation);
literal1.add(new Repeater(5, "X"));
LiteralValuesNode literal2 = new LiteralValuesNode();
literal2.addAnnotation(AnnotationKeys.LOCATION, mLocation);
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();