@Test public void testFindAll() throws Exception { log.info("findAll"); MvcResult result = mvc.perform(get("/api/locales.json")) .andExpect(status().isOk()) .andExpect(content().contentTypeCompatibleWith(MediaType.APPLICATION_JSON)) .andReturn(); }
@GetMapping public List<DomainLocale> findAll() { return localeService.findAll(); }
LocaleController { @GetMapping public List<DomainLocale> findAll() { return localeService.findAll(); } }
LocaleController { @GetMapping public List<DomainLocale> findAll() { return localeService.findAll(); }  }
LocaleController { @GetMapping public List<DomainLocale> findAll() { return localeService.findAll(); }  @GetMapping("current") DomainLocale current(@Nullable Locale requestLocale); @GetMapping("{id}") DomainLocale findOne(@PathVariable("id") String name,
            @RequestParam(value = "support", required = false, defaultValue = "false") boolean support); @GetMapping List<DomainLocale> findAll(); @GetMapping(params = "all") List<DomainLocale> supported(@RequestParam("all") boolean all); }
LocaleController { @GetMapping public List<DomainLocale> findAll() { return localeService.findAll(); }  @GetMapping("current") DomainLocale current(@Nullable Locale requestLocale); @GetMapping("{id}") DomainLocale findOne(@PathVariable("id") String name,
            @RequestParam(value = "support", required = false, defaultValue = "false") boolean support); @GetMapping List<DomainLocale> findAll(); @GetMapping(params = "all") List<DomainLocale> supported(@RequestParam("all") boolean all);  }