"for (Integer i=0; i<4; i++)" +
" { A a = new A; |- i -| => a.input; a.output => b.input[i]; } " +
"submit b;");
assertNull(mError);
assertEquals(1, builder.getSubmittedGraphs().size());
Graph graph = builder.getSubmittedGraphs().iterator().next();
List<Long> values = new ArrayList<Long>(Arrays.asList(0l,1l,2l,3l));
int numAs = 0;
boolean foundB = false;
for (RequestNode node : graph.getNodes())
{
if (node instanceof LiteralValuesNode)
{
assertTrue(values.remove(((LiteralValuesNode) node).getValues().get(0)));
}