UINamingContainer compositeComponent1 = (UINamingContainer) panelGroup1.getChildren().get(0);
Assert.assertNotNull(compositeComponent1);
UINamingContainer compositeComponent1inner = (UINamingContainer) compositeComponent1.findComponent("simpleAttributeActionMethodExpressionNoTarget");
Assert.assertNotNull(compositeComponent1inner);
UICommand testComponentNoTarget1 = (UICommand) compositeComponent1inner.findComponent("testComponentNoTarget");
Assert.assertNotNull(testComponentNoTarget1);
Assert.assertNotNull(testComponentNoTarget1.getActionListeners());
Assert.assertEquals(1, testComponentNoTarget1.getActionListeners().length);
compositeComponent1.pushComponentToEL(facesContext, compositeComponent1);
compositeComponent1.pushComponentToEL(facesContext, compositeComponent1inner);
bean.setActionListener1Called(false);
testComponentNoTarget1.getActionListeners()[0].processAction(new ActionEvent(testComponentNoTarget1));
Assert.assertTrue(bean.isActionListener1Called());
compositeComponent1inner.popComponentFromEL(facesContext);
compositeComponent1.popComponentFromEL(facesContext);
UIComponent panelGroup2 = root.findComponent("testGroup2");
Assert.assertNotNull(panelGroup2);
UINamingContainer compositeComponent2 = (UINamingContainer) panelGroup2.getChildren().get(0);
Assert.assertNotNull(compositeComponent2);
UINamingContainer compositeComponent2inner = (UINamingContainer) compositeComponent2.findComponent("simpleAttributeActionMethodExpressionNoTarget");
Assert.assertNotNull(compositeComponent2inner);
UICommand testComponentNoTarget2 = (UICommand) compositeComponent2inner.findComponent("testComponentNoTarget");
Assert.assertNotNull(testComponentNoTarget2);
Assert.assertNotNull(testComponentNoTarget2.getActionListeners());
Assert.assertEquals(1, testComponentNoTarget2.getActionListeners().length);
compositeComponent2.pushComponentToEL(facesContext, compositeComponent2);
compositeComponent2.pushComponentToEL(facesContext, compositeComponent2inner);
bean.setActionListener2Called(false);
testComponentNoTarget2.getActionListeners()[0].processAction(new ActionEvent(testComponentNoTarget2));
Assert.assertTrue(bean.isActionListener2Called());
compositeComponent2inner.popComponentFromEL(facesContext);
compositeComponent2.popComponentFromEL(facesContext);
}