Searched refs:mockAyncHttpClient (Results 1 – 3 of 3) sorted by relevance
35 protected final MockAyncHttpClient mockAyncHttpClient; field in BaseMockApiCall41 this.mockAyncHttpClient = new MockAyncHttpClient(); in BaseMockApiCall()66 mockAyncHttpClient.stubNextResponse(successResponse(protocol)); in successfulAsyncApiCall()68 mockAyncHttpClient.reset(); in successfulAsyncApiCall()73 mockAyncHttpClient.stubNextResponse(errorResponse(protocol)); in failedAsyncApiCall()85 mockAyncHttpClient.reset(); in failedAsyncApiCall()
32 asyncClient = ProtocolRestXmlAsyncClient.builder().httpClient(mockAyncHttpClient).build(); in XmlProtocolApiCall()
48 .httpClient(mockAyncHttpClient) in JsonProtocolApiCall()