public void testUIParamTemplateScope7() throws Exception
{
UIViewRoot root = facesContext.getViewRoot();
vdl.buildView(facesContext, root, "uiparamtemplatescope7.xhtml");
FastWriter fw = new FastWriter();
ResponseWriter rw = facesContext.getResponseWriter();
rw = rw.cloneWithWriter(fw);
facesContext.setResponseWriter(rw);
root.encodeAll(facesContext);
rw.flush();
String result = fw.toString();
Assert.assertTrue("Output should contain 'value1'", result.contains("value1"));
Assert.assertTrue("Output should contain 'value2'", result.contains("value2"));
Assert.assertTrue("Output should contain 'value3'", result.contains("value3"));
Assert.assertTrue("Output should contain 'value4'", result.contains("value4"));
Assert.assertTrue("Output should contain 'value5'", result.contains("value5"));