CityItemReadService implements CityItemReadFacade { @Override public ICResponse<Map<Long, List<CityItemInfo>>> listItemCityRelations(CityItemListRelationRequest request) { if(request==null){ throw new IllegalArgumentException("request is null"); } request.checkParam(); ICResponse<Map<Long, List<CityItemInfo>>> mapICResponse = cityItemReadFacade.listItemCityRelations(request); return mapICResponse; }  @Override ICResponse<Paging<CityItemInfoDTO>> paging(CityItemPagingRequest request); @Override ICResponse<FullCityItemInfo> queryFullCityItem(FullCityItemQueryRequest request); @Override ICResponse<FullCityItemWithDetailInfo> queryFullCityItemWithDetail(FullCityItemWithDetailQueryRequest request); @Override ICResponse<Map<Long, List<CityItemInfo>>> listItemCityRelations(CityItemListRelationRequest request);  }
@Test public void listItemCityRelations() { CityItemListRelationRequest request = new CityItemListRelationRequest(); request.setItemIds(Lists.newArrayList(1L,2L,3L,4L)); ICResponse<Map<Long, List<CityItemInfo>>> mapICResponse = cityItemReadService.listItemCityRelations(request); printJson(mapICResponse); assertNotNull(mapICResponse); assertTrue(mapICResponse.isSuccess()); }