### Question:
InstanceController { @ApiOperation("使用最新配置实例") @PostMapping(value = "by-release") public Result<PageDTO<InstanceDTO>> getByRelease(@RequestBody PageQuery<Long> releasePage) { Pageable pageable = PageRequest.of(releasePage.getPageNo(), releasePage.getPageSize()); Long releaseId4Lastest = releasePage.getData(); PageDTO<InstanceDTO> instances = instanceService.getByRelease(releaseId4Lastest, pageable); return Result.ok(instances); }  @ApiOperation("使用最新配置实例") @PostMapping(value = "by-release") Result<PageDTO<InstanceDTO>> getByRelease(@RequestBody PageQuery<Long> releasePage); @ApiOperation("所有实例") @PostMapping(value = "by-namespace") Result<PageDTO<InstanceDTO>> getByNamespace(@RequestBody PageQuery<InstanceNamespaceReq> instancePageQuery); @ApiOperation("所有实例数") @RequestMapping(value = "/namespaceId/{namespaceId}/count", method = RequestMethod.GET) Result<Number> getInstanceCountByNamespace(@PathVariable Long namespaceId); @ApiOperation("使用的非最新配置的实例") @RequestMapping(value = "/namespaceId/{namespaceId}/releaseIds/{releaseIds}/by-namespace-and-releases-not-in", method = RequestMethod.GET) Result<List<InstanceDTO>> getByReleasesNotIn(@RequestParam Long namespaceId, @RequestParam String releaseIds);  }### Answer:
@Test public void getByRelease() { PageQuery<Long> longPageQuery = new PageQuery(); Result<PageDTO<InstanceDTO>> byRelease = instanceController.getByRelease(longPageQuery); }