GetWithCommentsCalls gets all the calls that were made to GetWithComments. Check the length with: len(mockedDiscussionClient.GetWithCommentsCalls())
()
| 513 | // |
| 514 | // len(mockedDiscussionClient.GetWithCommentsCalls()) |
| 515 | func (mock *DiscussionClientMock) GetWithCommentsCalls() []struct { |
| 516 | Repo ghrepo.Interface |
| 517 | Number int32 |
| 518 | CommentLimit int |
| 519 | After string |
| 520 | Newest bool |
| 521 | } { |
| 522 | var calls []struct { |
| 523 | Repo ghrepo.Interface |
| 524 | Number int32 |
| 525 | CommentLimit int |
| 526 | After string |
| 527 | Newest bool |
| 528 | } |
| 529 | mock.lockGetWithComments.RLock() |
| 530 | calls = mock.calls.GetWithComments |
| 531 | mock.lockGetWithComments.RUnlock() |
| 532 | return calls |
| 533 | } |
| 534 | |
| 535 | // List calls ListFunc. |
| 536 | func (mock *DiscussionClientMock) List(repo ghrepo.Interface, filters ListFilters, after string, limit int) (*DiscussionListResult, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected