ExternalHTTPClientCalls gets all the calls that were made to ExternalHTTPClient. Check the length with: len(mockedapiClient.ExternalHTTPClientCalls())
()
| 443 | // |
| 444 | // len(mockedapiClient.ExternalHTTPClientCalls()) |
| 445 | func (mock *apiClientMock) ExternalHTTPClientCalls() []struct { |
| 446 | } { |
| 447 | var calls []struct { |
| 448 | } |
| 449 | mock.lockExternalHTTPClient.RLock() |
| 450 | calls = mock.calls.ExternalHTTPClient |
| 451 | mock.lockExternalHTTPClient.RUnlock() |
| 452 | return calls |
| 453 | } |
| 454 | |
| 455 | // GetCodespace calls GetCodespaceFunc. |
| 456 | func (mock *apiClientMock) GetCodespace(ctx context.Context, name string, includeConnection bool) (*codespacesAPI.Codespace, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected