/** Test fetch all custom search. */ @Test public void testFetchAllCustomSearch() { // Success situation InquiryPaginationRequest request = TestBaseUtil.createInquiryPaginationRequest(); InternalResultsResponse<CustomSearch> response = getSmartPointAccessorBCL().fetchAllCustomSearch(request); assertResultResponse(response); resetMocksToSmartPointArea(); // Error situation setSituation( getSmartPointAccessorBCL(), SituationsEnum.ERROR, ISmartPointDAC.class, "fetchAllCustomSearch"); response = getSmartPointAccessorBCL().fetchAllCustomSearch(request); assertMessages(response, ERROR_CODE); }