### Question:
RequestMappedRedirectView implements BookmarkableView, FacesRenderedView { public String getBookmarkUrl(Map<String, ?> model, HttpServletRequest request) throws Exception { NativeWebRequest webRequest = new FacesWebRequest(FacesContext.getCurrentInstance()); String url = buildRedirectUrl(request); Map<String, ?> relevantModel = getRelevantModel(webRequest, url, model); return createDelegateRedirector(url).getBookmarkUrl(relevantModel, request); } RequestMappedRedirectView(RequestMappedRedirectViewContext context, Object handler, Method handlerMethod); String getContentType(); void render(Map<String, ?> model, HttpServletRequest request, HttpServletResponse response); void render(Map<String, ?> model, FacesContext facesContext); String getBookmarkUrl(Map<String, ?> model, HttpServletRequest request);  }### Answer:
@Test public void shouldBookmarkMethodMapping() throws Exception { RequestMappedRedirectView view = new RequestMappedRedirectViewSpy(this.context, this.handler, this.handlerMethod); String url = view.getBookmarkUrl(this.model, this.request); assertThat(url, is(equalTo("/context/dispatcher/method"))); }