Assert.assertNotNull(button);
Assert.assertEquals("#{helloWorldBean.send}", button.getActionExpression().getExpressionString());
Assert.assertEquals("#{helloWorldBean.send}", ((MethodExpression)compositeComponent.getAttributes().get("metodo")).getExpressionString());
Assert.assertNull(button.getAttributes().get("metodo"));
UICommand link = (UICommand) compositeComponent.findComponent("link");
Assert.assertNotNull(link);
Assert.assertEquals(1, link.getActionListeners().length);
UIInput input = (UIInput) compositeComponent.findComponent("input");
Assert.assertNotNull(input);
Assert.assertEquals(1, input.getValidators().length);