### Question:
JobDetailController { @Operation(summary = "Get a Quartz job detail by Quartz group and job name") @GetMapping("/{quartzGroupName}/{quartzJobName}") public JobDetailResource get(@PathVariable String quartzGroupName, @PathVariable String quartzJobName) { return new JobDetailResource(jobDetailService.jobDetail(quartzGroupName, quartzJobName)); }  @Operation(summary = "Get a Quartz job detail by Quartz group and job name") @GetMapping("/{quartzGroupName}/{quartzJobName}") JobDetailResource get(@PathVariable String quartzGroupName, @PathVariable String quartzJobName); @Operation(summary = "Get all Quartz job details") @GetMapping CollectionModel<JobDetailResource> all(@RequestParam(value = "enabled", required = false) Boolean enabled,
                                            @RequestParam(value = "springBatchJobName", required = false) String springBatchJobName);  }### Answer:
@Test public void jobDetail() throws Exception { mockMvc.perform(get("/jobDetails/g1/j1")) .andDo(print()) .andExpect(status().isOk()) .andExpect(jsonPath("$..jobDetail", hasSize(1))); }
@Test public void jobDetails() throws Exception { mockMvc.perform(get("/jobDetails")) .andDo(print()) .andExpect(status().isOk()) .andExpect(jsonPath("$..jobDetail", hasSize(2))); }