### Question:
URL { public static String redirect(String url, Object parameter) { return REDIRECT_PREFIX + filledURL(url, parameter); } private  URL(); static String filledURL(String url, Object parameter); static String filledURL(String url); static String filledURLWithNamedParams(String url,
            Object... keyValuePairs); static String filledURL(String url, Map<String, ?> parameters); static String redirect(String url, Object parameter); static String redirect(String url); static String redirectWithNamedParams(String url,
            Object... keyValuePairs); static String redirect(String url,
            Map<String, String> namedParameters); static final String HOME; }### Answer:
@Test public void testRedirectStringMapOfStringString() { final Map<String, String> valuesMap = new HashMap<String, String>(); valuesMap.put("animal", "quick brown fox"); valuesMap.put("target", "lazy dog"); final String templateString = "The {animal} jumped over the {target}."; final String result = URL.redirect(templateString, valuesMap); assertThat(result) .isEqualTo( "redirect:The%20quick%20brown%20fox%20jumped%20over%20the%20lazy%20dog."); }