GetSubscriptionCalls gets all the calls that were made to GetSubscription. Check the length with: len(mockedEventClient.GetSubscriptionCalls())
()
| 202 | // |
| 203 | // len(mockedEventClient.GetSubscriptionCalls()) |
| 204 | func (mock *EventClientMock) GetSubscriptionCalls() []struct { |
| 205 | Ctx context.Context |
| 206 | ID string |
| 207 | } { |
| 208 | var calls []struct { |
| 209 | Ctx context.Context |
| 210 | ID string |
| 211 | } |
| 212 | mock.lockGetSubscription.RLock() |
| 213 | calls = mock.calls.GetSubscription |
| 214 | mock.lockGetSubscription.RUnlock() |
| 215 | return calls |
| 216 | } |
| 217 | |
| 218 | // ListSubscriptions calls ListSubscriptionsFunc. |
| 219 | func (mock *EventClientMock) ListSubscriptions(ctx context.Context, limit int) ([]Subscription, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected