final String statusValue = "someStatusValue";
externalContext.getRequestMap().put(var, varValue);
externalContext.getRequestMap().put(varStatus, statusValue);
// perform visit
repeat.visitTree(VisitContext.createVisitContext(facesContext), testVisitCallback);
// created expected List
List<String> expectedClientIds = new ArrayList<String>();
expectedClientIds.add("form:repeat");
expectedClientIds.add("form:repeat:0:outputText");