@Test public void testV1RenderRequest() throws ServletException, IOException { String str = "redirect:/api" + LayoutJsonV1RenderingController.URL; String returnStr = layoutJsonV1RedirectController.v1RenderRequest(req, res); Assert.assertEquals(str, returnStr); }
@RequestMapping(value = "/layout.json", method = RequestMethod.GET) public String v1RenderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { return ("redirect:/api" + LayoutJsonV1RenderingController.URL); }
LayoutJsonV1RedirectController { @RequestMapping(value = "/layout.json", method = RequestMethod.GET) public String v1RenderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { return ("redirect:/api" + LayoutJsonV1RenderingController.URL); } }
LayoutJsonV1RedirectController { @RequestMapping(value = "/layout.json", method = RequestMethod.GET) public String v1RenderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { return ("redirect:/api" + LayoutJsonV1RenderingController.URL); }  }
LayoutJsonV1RedirectController { @RequestMapping(value = "/layout.json", method = RequestMethod.GET) public String v1RenderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { return ("redirect:/api" + LayoutJsonV1RenderingController.URL); }  @RequestMapping(value = "/layout.json", method = RequestMethod.GET) String v1RenderRequest(HttpServletRequest request, HttpServletResponse response); }
LayoutJsonV1RedirectController { @RequestMapping(value = "/layout.json", method = RequestMethod.GET) public String v1RenderRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { return ("redirect:/api" + LayoutJsonV1RenderingController.URL); }  @RequestMapping(value = "/layout.json", method = RequestMethod.GET) String v1RenderRequest(HttpServletRequest request, HttpServletResponse response);  }