CityItemWriteService implements CityItemWriteFacade { @Override public ICResponse<Boolean> batchBindCity(CityBatchBindToItemRequest request) { if (request == null) { throw new IllegalArgumentException("batch_bind_city request is null"); } request.checkParam(); ICResponse<Boolean> booleanICResponse = cityItemWriteFacade.batchBindCity(request); return booleanICResponse; }  @Override ICResponse<Boolean> batchBindCity(CityBatchBindToItemRequest request); @Override ICResponse<Boolean> update(CityItemUpdateRequest request); @Override ICResponse<Boolean> sellerUpdateStatus(CityItemUpdateStatusRequest request);  }
@Test public void batchBindCity() { CityBatchBindToItemRequest request = new CityBatchBindToItemRequest(); request.setCityIds(Lists.newArrayList(220L, 30L)); request.setItemId(1L); request.setUpdatedBy(100L); request.setSellerId(10L); ICResponse<Boolean> booleanICResponse = cityItemWriteService.batchBindCity(request); printJson(booleanICResponse); assertNotNull(booleanICResponse); assertTrue(booleanICResponse.isSuccess()); assertTrue(booleanICResponse.getResult()); }