GetCodespaceCalls gets all the calls that were made to GetCodespace. Check the length with: len(mockedapiClient.GetCodespaceCalls())
()
| 477 | // |
| 478 | // len(mockedapiClient.GetCodespaceCalls()) |
| 479 | func (mock *apiClientMock) GetCodespaceCalls() []struct { |
| 480 | Ctx context.Context |
| 481 | Name string |
| 482 | IncludeConnection bool |
| 483 | } { |
| 484 | var calls []struct { |
| 485 | Ctx context.Context |
| 486 | Name string |
| 487 | IncludeConnection bool |
| 488 | } |
| 489 | mock.lockGetCodespace.RLock() |
| 490 | calls = mock.calls.GetCodespace |
| 491 | mock.lockGetCodespace.RUnlock() |
| 492 | return calls |
| 493 | } |
| 494 | |
| 495 | // GetCodespaceBillableOwner calls GetCodespaceBillableOwnerFunc. |
| 496 | func (mock *apiClientMock) GetCodespaceBillableOwner(ctx context.Context, nwo string) (*codespacesAPI.User, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected