SelectCalls gets all the calls that were made to Select. Check the length with: len(mockedPrompter.SelectCalls())
()
| 512 | // |
| 513 | // len(mockedPrompter.SelectCalls()) |
| 514 | func (mock *PrompterMock) SelectCalls() []struct { |
| 515 | Prompt string |
| 516 | DefaultValue string |
| 517 | Options []string |
| 518 | } { |
| 519 | var calls []struct { |
| 520 | Prompt string |
| 521 | DefaultValue string |
| 522 | Options []string |
| 523 | } |
| 524 | mock.lockSelect.RLock() |
| 525 | calls = mock.calls.Select |
| 526 | mock.lockSelect.RUnlock() |
| 527 | return calls |
| 528 | } |
no outgoing calls