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

Method AuthTokenCalls

internal/prompter/prompter_mock.go:189–197  ·  view source on GitHub ↗

AuthTokenCalls gets all the calls that were made to AuthToken. Check the length with: len(mockedPrompter.AuthTokenCalls())

()

Source from the content-addressed store, hash-verified

187//
188// len(mockedPrompter.AuthTokenCalls())
189func (mock *PrompterMock) AuthTokenCalls() []struct {
190} {
191 var calls []struct {
192 }
193 mock.lockAuthToken.RLock()
194 calls = mock.calls.AuthToken
195 mock.lockAuthToken.RUnlock()
196 return calls
197}
198
199// Confirm calls ConfirmFunc.
200func (mock *PrompterMock) Confirm(prompt string, defaultValue bool) (bool, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected