DeleteSubscriptionCalls gets all the calls that were made to DeleteSubscription. Check the length with: len(mockedEventClient.DeleteSubscriptionCalls())
()
| 166 | // |
| 167 | // len(mockedEventClient.DeleteSubscriptionCalls()) |
| 168 | func (mock *EventClientMock) DeleteSubscriptionCalls() []struct { |
| 169 | Ctx context.Context |
| 170 | ID string |
| 171 | } { |
| 172 | var calls []struct { |
| 173 | Ctx context.Context |
| 174 | ID string |
| 175 | } |
| 176 | mock.lockDeleteSubscription.RLock() |
| 177 | calls = mock.calls.DeleteSubscription |
| 178 | mock.lockDeleteSubscription.RUnlock() |
| 179 | return calls |
| 180 | } |
| 181 | |
| 182 | // GetSubscription calls GetSubscriptionFunc. |
| 183 | func (mock *EventClientMock) GetSubscription(ctx context.Context, id string) (*Subscription, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected