### Question:
DefaultDispatcher implements Dispatcher, ApplicationListener<ContextRefreshedEvent> { public View resolveViewName(String viewName, Map<String, Object> model, Locale locale, HttpServletRequest request) throws Exception { return this.delegate.resolveViewName(viewName, model, locale, request); } DefaultDispatcher(); View resolveViewName(String viewName, Map<String, Object> model, Locale locale, HttpServletRequest request); HandlerExecutionChain getHandler(HttpServletRequest request); ModelAndView processHandlerException(HttpServletRequest request, HttpServletResponse response,
			Object handler, Exception ex); void onApplicationEvent(ContextRefreshedEvent event); void setDetectAllHandlerMappings(boolean detectAllHandlerMappings); void setDetectAllHandlerAdapters(boolean detectAllHandlerAdapters); void setDetectAllHandlerExceptionResolvers(boolean detectAllHandlerExceptionResolvers); void setDetectAllViewResolvers(boolean detectAllViewResolvers); void setCleanupAfterInclude(boolean cleanupAfterInclude);  }### Answer:
@Test public void shouldDelegateResolveViewName() throws Exception { Locale locale = Locale.UK; Map<String, Object> model = Collections.<String, Object> singletonMap("key", "value"); this.dispatcher.resolveViewName("viewName", model, locale, this.request); verify(this.delegate).resolveViewName("viewName", model, locale, this.request); }