@Override
protected void setUpExternalContext() throws Exception
{
super.setUpExternalContext();
FaceletsProcessingImpl item = new FaceletsProcessingImpl();
item.setFileExtension(".xhtml");
item.setProcessAs(FaceletsProcessingImpl.PROCESS_AS_XHTML);
RuntimeConfig.getCurrentInstance(externalContext).addFaceletProcessingConfiguration(
FaceletsProcessingImpl.PROCESS_AS_XHTML, item);
}