GetUserCalls gets all the calls that were made to GetUser. Check the length with: len(mockedapiClient.GetUserCalls())
()
| 801 | // |
| 802 | // len(mockedapiClient.GetUserCalls()) |
| 803 | func (mock *apiClientMock) GetUserCalls() []struct { |
| 804 | Ctx context.Context |
| 805 | } { |
| 806 | var calls []struct { |
| 807 | Ctx context.Context |
| 808 | } |
| 809 | mock.lockGetUser.RLock() |
| 810 | calls = mock.calls.GetUser |
| 811 | mock.lockGetUser.RUnlock() |
| 812 | return calls |
| 813 | } |
| 814 | |
| 815 | // ListCodespaces calls ListCodespacesFunc. |
| 816 | func (mock *apiClientMock) ListCodespaces(ctx context.Context, opts codespacesAPI.ListCodespacesOptions) ([]*codespacesAPI.Codespace, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected