CompositeRequestDataValueProcessor implements
                                                RequestDataValueProcessor { @Override public String processUrl(HttpServletRequest request, String url) { String result = url; for (RequestDataValueProcessor processor : processors) { result = processor.processUrl(request, url); if (!url.equals(result)) { break; } } return result; } CompositeRequestDataValueProcessor(
            RequestDataValueProcessor... processors); String processAction(HttpServletRequest request, String action); @Override String processAction(HttpServletRequest request, String action,
            String method); @Override String processFormFieldValue(HttpServletRequest request, String name,
            String value, String type); @Override Map<String, String> getExtraHiddenFields(
            HttpServletRequest request); @Override String processUrl(HttpServletRequest request, String url);  }
@Test public void testProcessUrlSameUrlAndResult() { when(requestDataValueProcessor.processUrl(any(HttpServletRequest.class), anyString())).thenReturn("http: String result = compositeRequestDataValueProcessor.processUrl(request, "http: assertThat(result, is("http: }
@Test public void testProcessUrlDifferentUrlAndResult() { when(requestDataValueProcessor.processUrl(any(HttpServletRequest.class), anyString())).thenReturn("http: String result = compositeRequestDataValueProcessor.processUrl(request, "http: assertThat(result, is("http: }
@Test public void testProcessUrlNoProcessors() { compositeRequestDataValueProcessor = new CompositeRequestDataValueProcessor(); String result = compositeRequestDataValueProcessor.processUrl(request, "http: assertThat(result, is("http: }