vdl.buildView(facesContext, root, "testValidateBeanNestingAndNested.xhtml");
// get the component instances
UIInput nestedinput = (UIInput) root.findComponent("form:nestedinput");
UIInput nestedinputWithValidator = (UIInput) root.findComponent("form:nestedinputWithValidator");
UIInput nonnestedinput = (UIInput) root.findComponent("form:nonnestedinput");
// no wrapped UIInput has to have the BeanValidator installed,
// except the one nesting <f:validateBean /> itself.
Assert.assertFalse(_hasValidator(nestedinput, BeanValidator.class));
Assert.assertTrue(_hasValidator(nestedinputWithValidator, BeanValidator.class));