ResolveCommentNodeID calls ResolveCommentNodeIDFunc.
(repo ghrepo.Interface, commentDatabaseID int64)
| 642 | |
| 643 | // ResolveCommentNodeID calls ResolveCommentNodeIDFunc. |
| 644 | func (mock *DiscussionClientMock) ResolveCommentNodeID(repo ghrepo.Interface, commentDatabaseID int64) (string, error) { |
| 645 | if mock.ResolveCommentNodeIDFunc == nil { |
| 646 | panic("DiscussionClientMock.ResolveCommentNodeIDFunc: method is nil but DiscussionClient.ResolveCommentNodeID was just called") |
| 647 | } |
| 648 | callInfo := struct { |
| 649 | Repo ghrepo.Interface |
| 650 | CommentDatabaseID int64 |
| 651 | }{ |
| 652 | Repo: repo, |
| 653 | CommentDatabaseID: commentDatabaseID, |
| 654 | } |
| 655 | mock.lockResolveCommentNodeID.Lock() |
| 656 | mock.calls.ResolveCommentNodeID = append(mock.calls.ResolveCommentNodeID, callInfo) |
| 657 | mock.lockResolveCommentNodeID.Unlock() |
| 658 | return mock.ResolveCommentNodeIDFunc(repo, commentDatabaseID) |
| 659 | } |
| 660 | |
| 661 | // ResolveCommentNodeIDCalls gets all the calls that were made to ResolveCommentNodeID. |
| 662 | // Check the length with: |
nothing calls this directly
no outgoing calls
no test coverage detected