BackCategoryReadService implements BackCategoryReadFacade { @Override public ICResponse<List<BackCategoryInfo>> findAncestorsOf(BackCategoryQueryRequest request) { ICResponse<List<BackCategoryInfo>> ancestorsOf = backCategoryReadFacade.findAncestorsOf(request); return ancestorsOf; }  @Override ICResponse<List<BackCategoryInfo>> findChildrenByPid(BackCategoryQueryChildrenRequest request); @Override ICResponse<BackCategoryInfo> findById(BackCategoryQueryRequest request); @Override ICResponse<List<BackCategoryInfo>> findAncestorsOf(BackCategoryQueryRequest request);  }
@Test public void findAncestorsOf() { BackCategoryQueryRequest request =new BackCategoryQueryRequest(); request.setId(1L); ICResponse<List<BackCategoryInfo>> ancestorsOf = backCategoryReadService.findAncestorsOf(request); printJson(ancestorsOf); BackCategoryQueryRequest request1 =new BackCategoryQueryRequest(); request1.setId(2L); ICResponse<List<BackCategoryInfo>> ancestorsOf1 = backCategoryReadService.findAncestorsOf(request1); BackCategoryQueryRequest request2 =new BackCategoryQueryRequest(); request1.setId(3L); ICResponse<List<BackCategoryInfo>> ancestorsOf2 = backCategoryReadService.findAncestorsOf(request2); printJson(ancestorsOf2); }