vdl.buildView(facesContext, root, "testConditionalButtonTargets.xhtml");
//The first component has a default command button
UIComponent form = root.findComponent("testForm1");
Assert.assertNotNull(form);
UINamingContainer compositeComponent1 = (UINamingContainer) form.findComponent("actionSource1");
Assert.assertNotNull(compositeComponent1);
UICommand button1 = (UICommand) compositeComponent1.findComponent("button");
Assert.assertNotNull(button1);
Assert.assertEquals("submit", button1.getActionExpression().invoke(facesContext.getELContext(), null));