CityItemWriteService implements CityItemWriteFacade { @Override public ICResponse<Boolean> update(CityItemUpdateRequest request) { if (request == null) { throw new IllegalArgumentException("city item update request is null"); } request.checkParam(); ICResponse<Boolean> update = cityItemWriteFacade.update(request); return update; }  @Override ICResponse<Boolean> batchBindCity(CityBatchBindToItemRequest request); @Override ICResponse<Boolean> update(CityItemUpdateRequest request); @Override ICResponse<Boolean> sellerUpdateStatus(CityItemUpdateStatusRequest request);  }
@Test public void update() { CityItemUpdateRequest request = new CityItemUpdateRequest(); request.setSellerId(10L); request.setUpdatedBy(100L); ICResponse<Boolean> update = cityItemWriteService.update(request); printJson(update); assertNotNull(update); assertTrue(update.isSuccess()); assertTrue(update.getResult()); }