@Test public void getMacros() { String result = controller.getMacros(); assertEquals("/macro/index", result); }
@RequestMapping(method=RequestMethod.GET) @PreAuthorize("hasApplicationPermission(ADMIN)") public String getMacros() { return "/macro/index"; }
MacrosController { @RequestMapping(method=RequestMethod.GET) @PreAuthorize("hasApplicationPermission(ADMIN)") public String getMacros() { return "/macro/index"; } }
MacrosController { @RequestMapping(method=RequestMethod.GET) @PreAuthorize("hasApplicationPermission(ADMIN)") public String getMacros() { return "/macro/index"; }  }
MacrosController { @RequestMapping(method=RequestMethod.GET) @PreAuthorize("hasApplicationPermission(ADMIN)") public String getMacros() { return "/macro/index"; }  @RequestMapping(method=RequestMethod.GET) @PreAuthorize("hasApplicationPermission(ADMIN)") String getMacros(); }
MacrosController { @RequestMapping(method=RequestMethod.GET) @PreAuthorize("hasApplicationPermission(ADMIN)") public String getMacros() { return "/macro/index"; }  @RequestMapping(method=RequestMethod.GET) @PreAuthorize("hasApplicationPermission(ADMIN)") String getMacros();  }