### Question:
RnPackageController { @ApiImplicitParams({ @ApiImplicitParam(name = "Authorization", value = "用户登录凭证", paramType = "header", dataType = "string", defaultValue = "Bearer ", required = true), }) @GetMapping("/{id}") public ServiceResult find(@PathVariable int id) { if (id < 1) { return ServiceResultConstants.NEED_PARAMS; } return rnPackageService.find(id); }  @ApiOperation( value = "列出当前选择的APP内所有RN包（可分页，查询）", notes = "列出当前选择的APP内所有RN包信息（可分页，查询）" ) @ApiImplicitParams({ @ApiImplicitParam(name = "Authorization", value = "用户登录凭证", paramType = "header", dataType = "string", defaultValue = "Bearer ", required = true), @ApiImplicitParam(name = "page", value = "页数", defaultValue = "1"), @ApiImplicitParam(name = "pageSize", value = "每页显示数据条数", defaultValue = "10"), @ApiImplicitParam(name = "rnName", value = "模块名称（约定）"), @ApiImplicitParam(name = "rnNickName", value = "RN包模块通用昵称"), @ApiImplicitParam(name = "rnStatus", value = "RN包状态，0:关闭 1:线上开启 2:测试需要"), }) @GetMapping ServiceResult list(@RequestParam(required = false, defaultValue = "1") int page,
                              @RequestParam(required = false, defaultValue = "10") int pageSize,
                              @RequestParam(required = false, defaultValue = "") String rnName,
                              @RequestParam(required = false, defaultValue = "") String rnNickName,
                              @RequestParam(required = false, defaultValue = "") Integer rnStatus); @ApiImplicitParams({ @ApiImplicitParam(name = "Authorization", value = "用户登录凭证", paramType = "header", dataType = "string", defaultValue = "Bearer ", required = true), }) @PostMapping @OperationRecord(type = OperationRecordLog.OperationType.CREATE, resource = OperationRecordLog.OperationResource.RN_PACKAGE, description = OperationRecordLog.OperationDescription.CREATE_RN_PACKAGE) ServiceResult create(@RequestBody RnPackageRequestDTO rnPackageRequestDTO); @ApiImplicitParams({ @ApiImplicitParam(name = "Authorization", value = "用户登录凭证", paramType = "header", dataType = "string", defaultValue = "Bearer ", required = true), }) @PutMapping("/{id}") @OperationRecord(type = OperationRecordLog.OperationType.UPDATE, resource = OperationRecordLog.OperationResource.RN_PACKAGE, description = OperationRecordLog.OperationDescription.UPDATE_RN_PACKAGE) ServiceResult update(@PathVariable int id, @RequestBody RnPackageRequestDTO rnPackageRequestDTO); @ApiImplicitParams({ @ApiImplicitParam(name = "Authorization", value = "用户登录凭证", paramType = "header", dataType = "string", defaultValue = "Bearer ", required = true), }) @DeleteMapping("/{id}") @OperationRecord(type = OperationRecordLog.OperationType.DELETE, resource = OperationRecordLog.OperationResource.RN_PACKAGE, description = OperationRecordLog.OperationDescription.DELETE_RN_PACKAGE) ServiceResult delete(@PathVariable int id); @ApiImplicitParams({ @ApiImplicitParam(name = "Authorization", value = "用户登录凭证", paramType = "header", dataType = "string", defaultValue = "Bearer ", required = true), }) @GetMapping("/{id}") ServiceResult find(@PathVariable int id);  }### Answer:
@Test public void find() throws Exception { Integer id = 8; url = uri + "/" + id; String contentAsString = get(url); logger.info(contentAsString); id = 0; url = uri + "/" + id; contentAsString = get(url); logger.info(contentAsString); }