Assert.assertNotNull(input1target);
Assert.assertNotNull(input1target.getValueChangeListeners());
Assert.assertEquals(1, input1target.getValueChangeListeners().length);
bean.setValueChangeListener1Called(false);
input1target.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(input1target,"x","y"));
Assert.assertTrue(bean.isValueChangeListener1Called());
UIInput input1notarget = (UIInput) compositeComponent1target.findComponent("testComponentNoTarget");
Assert.assertNotNull(input1notarget);
Assert.assertNotNull(input1notarget.getValueChangeListeners());
Assert.assertEquals(1, input1notarget.getValueChangeListeners().length);
compositeComponent1.pushComponentToEL(facesContext, compositeComponent1);
compositeComponent1target.pushComponentToEL(facesContext, compositeComponent1target);
bean.setValueChangeListener1Called(false);
input1notarget.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(input1notarget,"x","y"));
Assert.assertTrue(bean.isValueChangeListener1Called());
compositeComponent1target.popComponentFromEL(facesContext);
compositeComponent1.popComponentFromEL(facesContext);
UINamingContainer compositeComponent1notarget = (UINamingContainer) compositeComponent1.findComponent("simpleAttributeMethodExpressionNoTarget");
Assert.assertNotNull(compositeComponent1notarget);
UIInput inputnotarget1target = (UIInput) compositeComponent1notarget.findComponent("testComponent");
Assert.assertNotNull(inputnotarget1target);
Assert.assertNotNull(inputnotarget1target.getValueChangeListeners());
Assert.assertEquals(1, inputnotarget1target.getValueChangeListeners().length);
compositeComponent1.pushComponentToEL(facesContext, compositeComponent1);
compositeComponent1notarget.pushComponentToEL(facesContext, compositeComponent1notarget);
bean.setValueChangeListener1Called(false);
inputnotarget1target.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(inputnotarget1target,"x","y"));
Assert.assertTrue(bean.isValueChangeListener1Called());
compositeComponent1notarget.popComponentFromEL(facesContext);
compositeComponent1.popComponentFromEL(facesContext);
UIInput inputnotarget1notarget = (UIInput) compositeComponent1notarget.findComponent("testComponentNoTarget");
Assert.assertNotNull(inputnotarget1notarget);
Assert.assertNotNull(inputnotarget1notarget.getValueChangeListeners());
Assert.assertEquals(1, inputnotarget1notarget.getValueChangeListeners().length);
compositeComponent1.pushComponentToEL(facesContext, compositeComponent1);
compositeComponent1notarget.pushComponentToEL(facesContext, compositeComponent1notarget);
bean.setValueChangeListener1Called(false);
inputnotarget1notarget.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(inputnotarget1notarget,"x","y"));
Assert.assertTrue(bean.isValueChangeListener1Called());
compositeComponent1notarget.popComponentFromEL(facesContext);
compositeComponent1.popComponentFromEL(facesContext);
UIComponent panelGroup2 = root.findComponent("testGroup2");
Assert.assertNotNull(panelGroup2);
UINamingContainer compositeComponent2 = (UINamingContainer) panelGroup2.getChildren().get(0);
Assert.assertNotNull(compositeComponent2);
UINamingContainer compositeComponent2target = (UINamingContainer) compositeComponent2.findComponent("simpleAttributeMethodExpressionTarget");
Assert.assertNotNull(compositeComponent2target);
UIInput input2target = (UIInput) compositeComponent2target.findComponent("testComponent");
Assert.assertNotNull(input2target);
Assert.assertNotNull(input2target.getValueChangeListeners());
Assert.assertEquals(1, input2target.getValueChangeListeners().length);
bean.setValueChangeListener2Called(false);
input2target.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(input2target,"x","y"));
Assert.assertTrue(bean.isValueChangeListener2Called());
UIInput input2notarget = (UIInput) compositeComponent2target.findComponent("testComponentNoTarget");
Assert.assertNotNull(input2notarget);
Assert.assertNotNull(input2notarget.getValueChangeListeners());
Assert.assertEquals(1, input2notarget.getValueChangeListeners().length);
compositeComponent2.pushComponentToEL(facesContext, compositeComponent2);
compositeComponent2target.pushComponentToEL(facesContext, compositeComponent2target);
bean.setValueChangeListener2Called(false);
input2notarget.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(input2notarget,"x","y"));
Assert.assertTrue(bean.isValueChangeListener2Called());
compositeComponent2target.popComponentFromEL(facesContext);
compositeComponent2.popComponentFromEL(facesContext);
UINamingContainer compositeComponent2notarget = (UINamingContainer) compositeComponent2.findComponent("simpleAttributeMethodExpressionNoTarget");
Assert.assertNotNull(compositeComponent2notarget);
UIInput inputnotarget2target = (UIInput) compositeComponent2notarget.findComponent("testComponent");
Assert.assertNotNull(inputnotarget2target);
Assert.assertNotNull(inputnotarget2target.getValueChangeListeners());
Assert.assertEquals(1, inputnotarget2target.getValueChangeListeners().length);
compositeComponent2.pushComponentToEL(facesContext, compositeComponent2);
compositeComponent2notarget.pushComponentToEL(facesContext, compositeComponent2notarget);
bean.setValueChangeListener2Called(false);
inputnotarget2target.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(inputnotarget2target,"x","y"));
Assert.assertTrue(bean.isValueChangeListener2Called());
compositeComponent2notarget.popComponentFromEL(facesContext);
compositeComponent2.popComponentFromEL(facesContext);
UIInput inputnotarget2notarget = (UIInput) compositeComponent2notarget.findComponent("testComponentNoTarget");
Assert.assertNotNull(inputnotarget2notarget);
Assert.assertNotNull(inputnotarget2notarget.getValueChangeListeners());
Assert.assertEquals(1, inputnotarget2notarget.getValueChangeListeners().length);
compositeComponent2.pushComponentToEL(facesContext, compositeComponent2);
compositeComponent2notarget.pushComponentToEL(facesContext, compositeComponent2notarget);
bean.setValueChangeListener2Called(false);
inputnotarget2notarget.getValueChangeListeners()[0].processValueChange(new ValueChangeEvent(inputnotarget2notarget,"x","y"));
Assert.assertTrue(bean.isValueChangeListener2Called());
compositeComponent2notarget.popComponentFromEL(facesContext);
compositeComponent2.popComponentFromEL(facesContext);
}