Assert.assertNotNull(input1);
Assert.assertNotNull(input1.getValueChangeListeners());
Assert.assertEquals(1, input1.getValueChangeListeners().length);
bean.setValueChangeListener1Called(false);
input1.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(input1,"x","y"));
Assert.assertTrue(bean.isValueChangeListener1Called());
UIInput input1n = (UIInput) compositeComponent1.findComponent("testComponentNoTarget");
Assert.assertNotNull(input1n);
Assert.assertNotNull(input1n.getValueChangeListeners());
Assert.assertEquals(1, input1n.getValueChangeListeners().length);
compositeComponent1.pushComponentToEL(facesContext, compositeComponent1);
bean.setValueChangeListener1Called(false);
input1n.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(input1n,"x","y"));
Assert.assertTrue(bean.isValueChangeListener1Called());
compositeComponent1.popComponentFromEL(facesContext);
UIComponent panelGroup2 = root.findComponent("testGroup2");
Assert.assertNotNull(panelGroup2);
UINamingContainer compositeComponent2 = (UINamingContainer) panelGroup2.getChildren().get(0);
Assert.assertNotNull(compositeComponent2);
UIInput input2 = (UIInput) compositeComponent2.findComponent("testComponent");
Assert.assertNotNull(input2);
Assert.assertNotNull(input2.getValueChangeListeners());
Assert.assertEquals(1, input2.getValueChangeListeners().length);
bean.setValueChangeListener2Called(false);
input2.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(input2,"x","y"));
Assert.assertTrue(bean.isValueChangeListener2Called());
UIInput input2n = (UIInput) compositeComponent2.findComponent("testComponentNoTarget");
Assert.assertNotNull(input2n);
Assert.assertNotNull(input2n.getValueChangeListeners());
Assert.assertEquals(1, input2n.getValueChangeListeners().length);
compositeComponent2.pushComponentToEL(facesContext, compositeComponent2);
bean.setValueChangeListener2Called(false);
input2n.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(input2n,"x","y"));
Assert.assertTrue(bean.isValueChangeListener2Called());
compositeComponent2.popComponentFromEL(facesContext);
}