ListCodespacesCalls gets all the calls that were made to ListCodespaces. Check the length with: len(mockedapiClient.ListCodespacesCalls())
()
| 835 | // |
| 836 | // len(mockedapiClient.ListCodespacesCalls()) |
| 837 | func (mock *apiClientMock) ListCodespacesCalls() []struct { |
| 838 | Ctx context.Context |
| 839 | Opts codespacesAPI.ListCodespacesOptions |
| 840 | } { |
| 841 | var calls []struct { |
| 842 | Ctx context.Context |
| 843 | Opts codespacesAPI.ListCodespacesOptions |
| 844 | } |
| 845 | mock.lockListCodespaces.RLock() |
| 846 | calls = mock.calls.ListCodespaces |
| 847 | mock.lockListCodespaces.RUnlock() |
| 848 | return calls |
| 849 | } |
| 850 | |
| 851 | // ListDevContainers calls ListDevContainersFunc. |
| 852 | func (mock *apiClientMock) ListDevContainers(ctx context.Context, repoID int, branch string, limit int) ([]codespacesAPI.DevContainerEntry, error) { |