### Question:
SavedRequestManager { @SuppressWarnings("unchecked") public static String getOriginalUrl(HttpServletRequest request) { HttpSession session = request.getSession(); Map<String, SavedRequest> savedRequests = (Map<String, SavedRequest>) session.getAttribute(getSavedRequestKey()); if (savedRequests != null) { String identifier = request.getParameter(getSavedRequestIdentifier()); if (!StringUtils.isEmpty(identifier)) { SavedRequest savedRequest = savedRequests.get(request.getParameter(getSavedRequestIdentifier())); if (savedRequest != null) { return savedRequest.getRequestUrl() + "?srid=" + identifier; } } } return null; } private  SavedRequestManager(); static String getSavedRequestIdentifier(); static String getSavedRequestKey(); @SuppressWarnings("unchecked") static String saveRequest(HttpServletRequest request); @SuppressWarnings("unchecked") static String getOriginalUrl(HttpServletRequest request);  }### Answer:
@Test public void testSavedUrl() { Assert.assertEquals(TEST_URL + "?srid=r4Nd0m", SavedRequestManager.getOriginalUrl(this.request)); }