GetSessionCalls gets all the calls that were made to GetSession. Check the length with: len(mockedCapiClient.GetSessionCalls())
()
| 317 | // |
| 318 | // len(mockedCapiClient.GetSessionCalls()) |
| 319 | func (mock *CapiClientMock) GetSessionCalls() []struct { |
| 320 | Ctx context.Context |
| 321 | ID string |
| 322 | } { |
| 323 | var calls []struct { |
| 324 | Ctx context.Context |
| 325 | ID string |
| 326 | } |
| 327 | mock.lockGetSession.RLock() |
| 328 | calls = mock.calls.GetSession |
| 329 | mock.lockGetSession.RUnlock() |
| 330 | return calls |
| 331 | } |
| 332 | |
| 333 | // GetSessionLogs calls GetSessionLogsFunc. |
| 334 | func (mock *CapiClientMock) GetSessionLogs(ctx context.Context, id string) ([]byte, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected