ListSubscriptionsCalls gets all the calls that were made to ListSubscriptions. Check the length with: len(mockedEventClient.ListSubscriptionsCalls())
()
| 238 | // |
| 239 | // len(mockedEventClient.ListSubscriptionsCalls()) |
| 240 | func (mock *EventClientMock) ListSubscriptionsCalls() []struct { |
| 241 | Ctx context.Context |
| 242 | Limit int |
| 243 | } { |
| 244 | var calls []struct { |
| 245 | Ctx context.Context |
| 246 | Limit int |
| 247 | } |
| 248 | mock.lockListSubscriptions.RLock() |
| 249 | calls = mock.calls.ListSubscriptions |
| 250 | mock.lockListSubscriptions.RUnlock() |
| 251 | return calls |
| 252 | } |
| 253 | |
| 254 | // OpenStream calls OpenStreamFunc. |
| 255 | func (mock *EventClientMock) OpenStream(ctx context.Context, id string) (io.ReadCloser, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected