}
}
public void testRepeatEnoughWithTee() throws Exception
{
LiteralValuesNode literal = new LiteralValuesNode();
literal.addAnnotation(AnnotationKeys.LOCATION, mLocation);
literal.add(new Repeater(null, "X"));
ProcessingElementNode node1 = new ProcessingElementNode("1");
node1.addAnnotation(AnnotationKeys.LOCATION, mLocation);
literal.connectOutput("output", 0, node1.getInput("input", 0));
ProcessingElementNode node2 = new ProcessingElementNode("2");
node2.addAnnotation(AnnotationKeys.LOCATION, mLocation);
node2.connectOutput("output", 0, node1.getInput("control", 0));
ProcessingElementNode node3 = new ProcessingElementNode("3");
node3.addAnnotation(AnnotationKeys.LOCATION, mLocation);
node3.connectInput("input", 0, literal.getOutput());
ProcessingElementNode node4 = new ProcessingElementNode("4");
node4.addAnnotation(AnnotationKeys.LOCATION, mLocation);
node4.connectOutput("output", 0, node3.getInput("control", 0));
Graph graph = new Graph();
graph.add(literal);