MultiSelectWithSearchCalls gets all the calls that were made to MultiSelectWithSearch. Check the length with: len(mockedPrompter.MultiSelectWithSearchCalls())
()
| 436 | // |
| 437 | // len(mockedPrompter.MultiSelectWithSearchCalls()) |
| 438 | func (mock *PrompterMock) MultiSelectWithSearchCalls() []struct { |
| 439 | Prompt string |
| 440 | SearchPrompt string |
| 441 | Defaults []string |
| 442 | PersistentOptions []string |
| 443 | SearchFunc func(string) MultiSelectSearchResult |
| 444 | } { |
| 445 | var calls []struct { |
| 446 | Prompt string |
| 447 | SearchPrompt string |
| 448 | Defaults []string |
| 449 | PersistentOptions []string |
| 450 | SearchFunc func(string) MultiSelectSearchResult |
| 451 | } |
| 452 | mock.lockMultiSelectWithSearch.RLock() |
| 453 | calls = mock.calls.MultiSelectWithSearch |
| 454 | mock.lockMultiSelectWithSearch.RUnlock() |
| 455 | return calls |
| 456 | } |
| 457 | |
| 458 | // Password calls PasswordFunc. |
| 459 | func (mock *PrompterMock) Password(prompt string) (string, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected