UIViewRoot page = Util.getViewHandler(getFacesContext()).createView(getFacesContext(), TEST_URI);
page.setLocale(Locale.US);
getFacesContext().setViewRoot(page);
// This builds the tree, and usefaces saves it in the session
renderResponse.execute(getFacesContext());
assertTrue(!(getFacesContext().getRenderResponse()) &&
!(getFacesContext().getResponseComplete()));
// This causes the components to be set to valid
applyRequestValues.execute(getFacesContext());