protected void setUp() throws Exception {
super.setUp();
helper = new XhtmlHelper();
facesContext.setViewRoot(new UIViewRoot());
mappings = new MappingsImpl();
mappings.setExtension(".jsp");
mappings.setPatterns(new String[] { "*.faces" });
mapping = new MappingImpl();
mapping.setMappings(mappings);
mapping.setMechanism(Mechanism.CLASS_RESOURCE);