GetCommentCalls gets all the calls that were made to GetComment. Check the length with: len(mockedDiscussionClient.GetCommentCalls())
()
| 423 | // |
| 424 | // len(mockedDiscussionClient.GetCommentCalls()) |
| 425 | func (mock *DiscussionClientMock) GetCommentCalls() []struct { |
| 426 | Host string |
| 427 | CommentID string |
| 428 | } { |
| 429 | var calls []struct { |
| 430 | Host string |
| 431 | CommentID string |
| 432 | } |
| 433 | mock.lockGetComment.RLock() |
| 434 | calls = mock.calls.GetComment |
| 435 | mock.lockGetComment.RUnlock() |
| 436 | return calls |
| 437 | } |
| 438 | |
| 439 | // GetCommentReplies calls GetCommentRepliesFunc. |
| 440 | func (mock *DiscussionClientMock) GetCommentReplies(host string, commentID string, limit int, after string, newest bool) (*Discussion, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected