MCPcopy Create free account
hub / github.com/cli/cli / CreateCalls

Method CreateCalls

pkg/cmd/discussion/client/client_mock.go:317–329  ·  view source on GitHub ↗

CreateCalls gets all the calls that were made to Create. Check the length with: len(mockedDiscussionClient.CreateCalls())

()

Source from the content-addressed store, hash-verified

315//
316// len(mockedDiscussionClient.CreateCalls())
317func (mock *DiscussionClientMock) CreateCalls() []struct {
318 Repo ghrepo.Interface
319 Input CreateDiscussionInput
320} {
321 var calls []struct {
322 Repo ghrepo.Interface
323 Input CreateDiscussionInput
324 }
325 mock.lockCreate.RLock()
326 calls = mock.calls.Create
327 mock.lockCreate.RUnlock()
328 return calls
329}
330
331// DeleteComment calls DeleteCommentFunc.
332func (mock *DiscussionClientMock) DeleteComment(repo ghrepo.Interface, commentID string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected