UIOutput itemC_2 = (UIOutput) facesContext.getViewRoot().findComponent("mainForm:item_c");
Assert.assertNotNull(itemC_2);
Assert.assertEquals("c", itemC_2.getValue());
Assert.assertEquals("c", itemC_2.getAttributes().get("prop"));
ForEachBean bean = facesContext.getApplication().evaluateExpressionGet(facesContext, "#{forEachBean}",
ForEachBean.class);
bean.addFirst();
bean.addMiddle();
bean.removeLast();
executeBeforeRender(facesContext);
executeBuildViewCycle(facesContext);
UIOutput itemA_3 = (UIOutput) facesContext.getViewRoot().findComponent("mainForm:item_a");