}
@Test
public void shouldExecutePage2() throws Exception
{
JSFSession jsfSession = new JSFSession("/index.jsf");
Assert.assertTrue(Environment.is12Compatible());
Assert.assertTrue(Environment.is20Compatible());
Assert.assertEquals(2, Environment.getJSFMajorVersion());
Assert.assertEquals(0, Environment.getJSFMinorVersion());
JSFServerSession server = jsfSession.getJSFServerSession();
Assert.assertEquals("request", server.getManagedBeanValue("#{requestBean.scope}"));
}