ExternalHTTPClient calls ExternalHTTPClientFunc.
()
| 427 | |
| 428 | // ExternalHTTPClient calls ExternalHTTPClientFunc. |
| 429 | func (mock *apiClientMock) ExternalHTTPClient() (*http.Client, error) { |
| 430 | if mock.ExternalHTTPClientFunc == nil { |
| 431 | panic("apiClientMock.ExternalHTTPClientFunc: method is nil but apiClient.ExternalHTTPClient was just called") |
| 432 | } |
| 433 | callInfo := struct { |
| 434 | }{} |
| 435 | mock.lockExternalHTTPClient.Lock() |
| 436 | mock.calls.ExternalHTTPClient = append(mock.calls.ExternalHTTPClient, callInfo) |
| 437 | mock.lockExternalHTTPClient.Unlock() |
| 438 | return mock.ExternalHTTPClientFunc() |
| 439 | } |
| 440 | |
| 441 | // ExternalHTTPClientCalls gets all the calls that were made to ExternalHTTPClient. |
| 442 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected