UpdateCommentCalls gets all the calls that were made to UpdateComment. Check the length with: len(mockedDiscussionClient.UpdateCommentCalls())
()
| 781 | // |
| 782 | // len(mockedDiscussionClient.UpdateCommentCalls()) |
| 783 | func (mock *DiscussionClientMock) UpdateCommentCalls() []struct { |
| 784 | Repo ghrepo.Interface |
| 785 | CommentID string |
| 786 | Body string |
| 787 | } { |
| 788 | var calls []struct { |
| 789 | Repo ghrepo.Interface |
| 790 | CommentID string |
| 791 | Body string |
| 792 | } |
| 793 | mock.lockUpdateComment.RLock() |
| 794 | calls = mock.calls.UpdateComment |
| 795 | mock.lockUpdateComment.RUnlock() |
| 796 | return calls |
| 797 | } |
nothing calls this directly
no outgoing calls
no test coverage detected