}
public void testPhaseMethodExpressionAndListenerState() throws Exception {
UIViewRoot root = facesContext.getApplication().getViewHandler().createView(facesContext, null);
facesContext.setViewRoot(root);
Object state = root.saveState(facesContext);
root = facesContext.getApplication().getViewHandler().createView(facesContext, null);
facesContext.setViewRoot(root);
root.restoreState(facesContext, state);
doTestPhaseMethodExpressionAndListener(root, false);