### Question:
NavigationMethodOutcomeResolver extends ApplicationObjectSupport implements NavigationOutcomeResolver,
		BeanFactoryAware, InitializingBean { public void afterPropertiesSet() { initMessageConverters(); initArgumentResolvers(); initReturnValueHandlers(); initInitBinderArgumentResolvers(); }  void setCustomArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers); void setArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers); void setInitBinderArgumentResolvers(List<HandlerMethodArgumentResolver> argumentResolvers); void setCustomReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers); void setReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers); void setMessageConverters(List<HttpMessageConverter<?>> messageConverters); List<HttpMessageConverter<?>> getMessageConverters(); void setWebBindingInitializer(WebBindingInitializer webBindingInitializer); WebBindingInitializer getWebBindingInitializer(); void setParameterNameDiscoverer(ParameterNameDiscoverer parameterNameDiscoverer); void setBeanFactory(BeanFactory beanFactory); void afterPropertiesSet(); boolean canResolve(FacesContext facesContext, NavigationContext context); NavigationOutcome resolve(FacesContext facesContext, NavigationContext context);  }### Answer:
@Test public void shouldFailIfNoRequestMappingHandlerAdapterInSpringContext() throws Exception { setApplicationContextBean(this.bean, false); this.resolver.setApplicationContext(this.applicationContext); this.thrown.expect(IllegalStateException.class); this.thrown.expectMessage("Unable to configure messageConverters using RequestMappingHandlerAdapter bean, " + "please configure messageConverters directly"); this.resolver.afterPropertiesSet(); }