GetRepositoryCalls gets all the calls that were made to GetRepository. Check the length with: len(mockedapiClient.GetRepositoryCalls())
()
| 767 | // |
| 768 | // len(mockedapiClient.GetRepositoryCalls()) |
| 769 | func (mock *apiClientMock) GetRepositoryCalls() []struct { |
| 770 | Ctx context.Context |
| 771 | Nwo string |
| 772 | } { |
| 773 | var calls []struct { |
| 774 | Ctx context.Context |
| 775 | Nwo string |
| 776 | } |
| 777 | mock.lockGetRepository.RLock() |
| 778 | calls = mock.calls.GetRepository |
| 779 | mock.lockGetRepository.RUnlock() |
| 780 | return calls |
| 781 | } |
| 782 | |
| 783 | // GetUser calls GetUserFunc. |
| 784 | func (mock *apiClientMock) GetUser(ctx context.Context) (*codespacesAPI.User, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected