* two parts of the test are equivalent.
*/
@Test(enabled = true)
public void testShortCircuitOnNonNullOutcome()
{
FacesContext facesContext = FacesContext.getCurrentInstance();
TestActions testActions = TestActions.instance();
facesContext.getViewRoot().setViewId("/action-test01a.xhtml");
Pages.instance().preRender(facesContext);
assertViewId(facesContext, "/pageA.xhtml");
assertActionCalls(testActions, new String[] { "nonNullActionA" });
testActions = TestActions.instance();
facesContext.getViewRoot().setViewId("/action-test01b.xhtml");
Pages.instance().preRender(facesContext);
assertViewId(facesContext, "/pageA.xhtml");
assertActionCalls(testActions, new String[] { "nonNullActionA" });
}