{
super.setUp();
//facesContext.setViewRoot(facesContext.getApplication().getViewHandler()
// .createView(facesContext, "/test"));
FacesConfigurationProviderFactory factory = FacesConfigurationProviderFactory.
getFacesConfigurationProviderFactory(externalContext);
List<FacesConfig> list = factory.getFacesConfigurationProvider(externalContext)
.getFaceletTaglibFacesConfig(externalContext);
RuntimeConfig runtimeConfig = RuntimeConfig.getCurrentInstance(externalContext);
for (FacesConfig fc : list)
{
for (FaceletTagLibrary lib : fc.getFaceletTagLibraryList())