compositeComponent1.pushComponentToEL(facesContext, compositeComponent1);
button1.pushComponentToEL(facesContext, button1);
bean.setActionListener1Called(false);
button1.getActionListeners()[0].processAction(new ActionEvent(button1));
Assert.assertTrue(bean.isActionListener1Called());
button1.popComponentFromEL(facesContext);
compositeComponent1.popComponentFromEL(facesContext);
UIComponent panelGroup2 = root.findComponent("testGroup2");
Assert.assertNotNull(panelGroup2);
UINamingContainer compositeComponent2 = (UINamingContainer) panelGroup2.getChildren().get(0);