mockDataAdaptor.setId("_data");
facet.setId("_facet");
child.setId("_child");
VisitContext fullVisitContext = VisitContext.createVisitContext(facesContext);
final char separatorChar = UINamingContainer.getSeparatorChar(facesContext);
final Set<String> idsToVisit = new HashSet<String>();
idsToVisit.add("_data" + separatorChar + "_facet");
idsToVisit.add("_data" + separatorChar + "0" + separatorChar + "_child");
idsToVisit.add("_data" + separatorChar + "2" + separatorChar + "_child");
VisitContext partialVisitContext = VisitContext.createVisitContext(facesContext, idsToVisit,
EnumSet.of(VisitHint.SKIP_UNRENDERED));
final TestCallback callback = new TestCallback();
mockDataAdaptor.visitTree(fullVisitContext, new VisitCallback() {
public VisitResult visit(VisitContext context, UIComponent target) {