DeleteCommentCalls gets all the calls that were made to DeleteComment. Check the length with: len(mockedDiscussionClient.DeleteCommentCalls())
()
| 351 | // |
| 352 | // len(mockedDiscussionClient.DeleteCommentCalls()) |
| 353 | func (mock *DiscussionClientMock) DeleteCommentCalls() []struct { |
| 354 | Repo ghrepo.Interface |
| 355 | CommentID string |
| 356 | } { |
| 357 | var calls []struct { |
| 358 | Repo ghrepo.Interface |
| 359 | CommentID string |
| 360 | } |
| 361 | mock.lockDeleteComment.RLock() |
| 362 | calls = mock.calls.DeleteComment |
| 363 | mock.lockDeleteComment.RUnlock() |
| 364 | return calls |
| 365 | } |
| 366 | |
| 367 | // GetByNumber calls GetByNumberFunc. |
| 368 | func (mock *DiscussionClientMock) GetByNumber(repo ghrepo.Interface, number int32) (*Discussion, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected