Methods

testAskChoice()

testAskChoice() 

testAskChoiceNonInteractive()

testAskChoiceNonInteractive() 

testAsk()

testAsk() 

testAskWithAutocomplete()

testAskWithAutocomplete() 

testAskWithAutocompleteWithNonSequentialKeys()

testAskWithAutocompleteWithNonSequentialKeys() 

testAskWithAutocompleteWithExactMatch()

testAskWithAutocompleteWithExactMatch() 

testAutocompleteWithTrailingBackslash()

testAutocompleteWithTrailingBackslash() 

testAskHiddenResponse()

testAskHiddenResponse() 

testAskConfirmation()

testAskConfirmation(  $question,   $expected,   $default = true) 

Parameters

$question
$expected
$default

getAskConfirmationData()

getAskConfirmationData() 

testAskConfirmationWithCustomTrueAnswer()

testAskConfirmationWithCustomTrueAnswer() 

testAskAndValidate()

testAskAndValidate() 

testSelectChoiceFromSimpleChoices()

testSelectChoiceFromSimpleChoices(  $providedAnswer,   $expectedValue) 

Parameters

$providedAnswer
$expectedValue

simpleAnswerProvider()

simpleAnswerProvider() 

testSpecialCharacterChoiceFromMultipleChoiceList()

testSpecialCharacterChoiceFromMultipleChoiceList(  $providedAnswer,   $expectedValue) 

Parameters

$providedAnswer
$expectedValue

specialCharacterInMultipleChoice()

specialCharacterInMultipleChoice() 

testChoiceFromChoicelistWithMixedKeys()

testChoiceFromChoicelistWithMixedKeys(  $providedAnswer,   $expectedValue) 

Parameters

$providedAnswer
$expectedValue

mixedKeysChoiceListAnswerProvider()

mixedKeysChoiceListAnswerProvider() 

testSelectChoiceFromChoiceList()

testSelectChoiceFromChoiceList(  $providedAnswer,   $expectedValue) 

Parameters

$providedAnswer
$expectedValue

testAmbiguousChoiceFromChoicelist()

testAmbiguousChoiceFromChoicelist() 

answerProvider()

answerProvider() 

testNoInteraction()

testNoInteraction() 

testChoiceOutputFormattingQuestionForUtf8Keys()

testChoiceOutputFormattingQuestionForUtf8Keys() 

testAskThrowsExceptionOnMissingInput()

testAskThrowsExceptionOnMissingInput() 

testAskThrowsExceptionOnMissingInputWithValidator()

testAskThrowsExceptionOnMissingInputWithValidator() 

testEmptyChoices()

testEmptyChoices() 

testTraversableAutocomplete()

testTraversableAutocomplete() 

createStreamableInputInterfaceMock()

createStreamableInputInterfaceMock(  $stream = null,   $interactive = true) 

Parameters

$stream
$interactive

getInputStream()

getInputStream(  $input) 

Parameters

$input

createOutputInterface()

createOutputInterface() 

createInputInterfaceMock()

createInputInterfaceMock(  $interactive = true) 

Parameters

$interactive

hasSttyAvailable()

hasSttyAvailable()