Collection<String> value = new ArrayList<String>();
value.add("value#1");
value.add("value#2");
uidata.setValue(value);
// header facet
UIComponent headerFacet = new HtmlPanelGroup();
headerFacet.setId("headerFacet");
uidata.setHeader(headerFacet);
// footer facet
UIComponent footerFacet = new HtmlPanelGroup();
footerFacet.setId("footerFacet");
uidata.setFooter(footerFacet);
// first child
UIComponent child1 = new UIColumn();
// facet of first child
UIComponent facetOfChild1 = new HtmlPanelGroup();
child1.getFacets().put("someFacet", facetOfChild1);
// child of first child
UIOutput childOfChild1 = new UIOutput();
childOfChild1.setId("childOfColumn");
child1.getChildren().add(childOfChild1);
uidata.getChildren().add(child1);
// second child (should not be processed --> != UIColumn)
UIComponent child2 = new HtmlPanelGroup();
uidata.getChildren().add(child2);
VisitCallback callback = null;
IMocksControl control = EasyMock.createControl();
VisitContext visitContextMock = control.createMock(VisitContext.class);