StartCodespaceCalls gets all the calls that were made to StartCodespace. Check the length with: len(mockedapiClient.StartCodespaceCalls())
()
| 942 | // |
| 943 | // len(mockedapiClient.StartCodespaceCalls()) |
| 944 | func (mock *apiClientMock) StartCodespaceCalls() []struct { |
| 945 | Ctx context.Context |
| 946 | Name string |
| 947 | } { |
| 948 | var calls []struct { |
| 949 | Ctx context.Context |
| 950 | Name string |
| 951 | } |
| 952 | mock.lockStartCodespace.RLock() |
| 953 | calls = mock.calls.StartCodespace |
| 954 | mock.lockStartCodespace.RUnlock() |
| 955 | return calls |
| 956 | } |
| 957 | |
| 958 | // StopCodespace calls StopCodespaceFunc. |
| 959 | func (mock *apiClientMock) StopCodespace(ctx context.Context, name string, orgName string, userName string) error { |
nothing calls this directly
no outgoing calls
no test coverage detected