### Question:
PokemonRestController { @GetMapping("/api/pokemons/{number}") public ResponseEntity find(@PathVariable final int number) { return ResponseEntity.ok() .body(pokemonService.find(number)) ; } PokemonRestController(final PokemonService pokemonService); @GetMapping("/api/pokemons/{number}") ResponseEntity find(@PathVariable final int number); @GetMapping("/api/pokemons/{number}/capture/{captureRate}") ResponseEntity capture(@PathVariable final int number, @PathVariable final int captureRate);  }### Answer:
@Test void find() throws Exception { mockMvc.perform(get("/api/pokemons/{number}", 1)) .andDo(print()) .andExpect(status().isOk()) .andExpect(jsonPath("$.number").isNumber()) .andExpect(jsonPath("$.name").isString()) .andExpect(jsonPath("$.captureRate").isNumber()) ; }