@Test public void shouldSearchBusinessServiceDetails() { List<BusinessServiceDetail> businessServiceDetailList = new ArrayList<>(); businessServiceDetailList.add(getBusinessServiceDetail()); BusinessServiceDetailResponse businessServiceDetailResponse = new BusinessServiceDetailResponse(); businessServiceDetailResponse.setBusinessServiceDetails(businessServiceDetailList); BusinessServiceDetailCriteria businessServiceDetailCriteria = BusinessServiceDetailCriteria.builder().tenantId("ap").build(); when(businessServiceDetailRepository.searchBusinessServiceDetails(any(BusinessServiceDetailCriteria.class))).thenReturn(businessServiceDetailList); assertEquals(businessServiceDetailResponse, businessServDetailService.searchBusinessServiceDetails(businessServiceDetailCriteria, new RequestInfo())); }
public BusinessServiceDetailResponse searchBusinessServiceDetails( final BusinessServiceDetailCriteria businessServiceDetailCriteria, final RequestInfo requestInfo) { final List<BusinessServiceDetail> businessServiceDetails = businessServiceDetailRepository .getBussinessServiceDetail(requestInfo,businessServiceDetailCriteria); return getBusinessServiceDetailResponse(businessServiceDetails, requestInfo); }
BusinessServDetailService { public BusinessServiceDetailResponse searchBusinessServiceDetails( final BusinessServiceDetailCriteria businessServiceDetailCriteria, final RequestInfo requestInfo) { final List<BusinessServiceDetail> businessServiceDetails = businessServiceDetailRepository .getBussinessServiceDetail(requestInfo,businessServiceDetailCriteria); return getBusinessServiceDetailResponse(businessServiceDetails, requestInfo); } }
BusinessServDetailService { public BusinessServiceDetailResponse searchBusinessServiceDetails( final BusinessServiceDetailCriteria businessServiceDetailCriteria, final RequestInfo requestInfo) { final List<BusinessServiceDetail> businessServiceDetails = businessServiceDetailRepository .getBussinessServiceDetail(requestInfo,businessServiceDetailCriteria); return getBusinessServiceDetailResponse(businessServiceDetails, requestInfo); }  }
BusinessServDetailService { public BusinessServiceDetailResponse searchBusinessServiceDetails( final BusinessServiceDetailCriteria businessServiceDetailCriteria, final RequestInfo requestInfo) { final List<BusinessServiceDetail> businessServiceDetails = businessServiceDetailRepository .getBussinessServiceDetail(requestInfo,businessServiceDetailCriteria); return getBusinessServiceDetailResponse(businessServiceDetails, requestInfo); }  BusinessServiceDetailResponse searchBusinessServiceDetails(
			final BusinessServiceDetailCriteria businessServiceDetailCriteria, final RequestInfo requestInfo); BusinessServiceDetailResponse create(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse createAsync(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse updateAsync(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse update(BusinessServiceDetailRequest businessServiceDetailRequest); }
BusinessServDetailService { public BusinessServiceDetailResponse searchBusinessServiceDetails( final BusinessServiceDetailCriteria businessServiceDetailCriteria, final RequestInfo requestInfo) { final List<BusinessServiceDetail> businessServiceDetails = businessServiceDetailRepository .getBussinessServiceDetail(requestInfo,businessServiceDetailCriteria); return getBusinessServiceDetailResponse(businessServiceDetails, requestInfo); }  BusinessServiceDetailResponse searchBusinessServiceDetails(
			final BusinessServiceDetailCriteria businessServiceDetailCriteria, final RequestInfo requestInfo); BusinessServiceDetailResponse create(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse createAsync(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse updateAsync(BusinessServiceDetailRequest businessServiceDetailRequest); BusinessServiceDetailResponse update(BusinessServiceDetailRequest businessServiceDetailRequest); static final Logger LOGGER; }