final String expectedCompDeclarations = SmtLabelRepresentation.encloseInBeginEndIfNotEmpty(
"(define "+SmtLabelRepresentation.generateFreshVariable("fn", VARIABLEUSE.IO, 0, 0)+"::int)"+SmtLabelRepresentation.ENDL+
"(define "+SmtLabelRepresentation.generateFreshVariable("fn", VARIABLEUSE.IO, 0, 1)+"::int)"+SmtLabelRepresentation.ENDL+
"(define "+SmtLabelRepresentation.generateFreshVariable("fn", VARIABLEUSE.IO, 0, 2)+"::int)"+SmtLabelRepresentation.ENDL,SmtLabelRepresentation.blockVARDECLS);
CompositionOfFunctions comp = compIterator.next();
Assert.assertEquals("(= 0 "+SmtLabelRepresentation.generateFreshVariable("fn", VARIABLEUSE.IO, 0, 0)+") (< output"+_N+" 8)",comp.text);
Assert.assertEquals(expectedCompDeclarations,comp.varDeclarations);
Assert.assertEquals(1,comp.variablesUsedForArgs.size());
Assert.assertArrayEquals(new String[]{SmtLabelRepresentation.generateFreshVariable("fn", VARIABLEUSE.IO, 0, JUConstants.intUNKNOWN)}, comp.variablesUsedForArgs.get(lbls.functionMap.get("fn")).toArray());