HistoneViewResolver extends UrlBasedViewResolver { @Override protected View createView(String viewName, Locale locale) throws Exception { return super.createView(viewName, locale); }  @PostConstruct void postConstruct(); HistoneViewResolver addExceptionProcessor(HistoneProcessingExceptionProcessor exceptionProcessor); String getTemplateLocation(); void setTemplateLocation(String templateLocation); String getEncoding(); void setEncoding(String encoding); HistoneSpringEngine getHistone(); void setHistone(HistoneSpringEngine histone); List<HistoneTemplatePostProcessor> getPostProcessors(); void setPostProcessors(List<HistoneTemplatePostProcessor> postProcessors); HistoneProcessingExceptionProcessor getProcessorChain(); void setProcessorChain(HistoneProcessingExceptionProcessor processorChain);  }
@Test public void testCreateView() throws Exception { View view = histoneViewResolver.createView("testTemplate", Locale.getDefault()); assertEquals(view.getClass(), HistoneView.class); HistoneView templateView = (HistoneView) view; assertThat(templateView.getUrl(), is("/WEB-INF/templates/testTemplate.tpl")); assertNotNull(templateView.getTemplateLocation()); }