You are here

protected function QuestionHelperTest::createOutputInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Helper/QuestionHelperTest.php \Symfony\Component\Console\Tests\Helper\QuestionHelperTest::createOutputInterface()
12 calls to QuestionHelperTest::createOutputInterface()
QuestionHelperTest::testAmbiguousChoiceFromChoicelist in vendor/symfony/console/Tests/Helper/QuestionHelperTest.php
@expectedException \InvalidArgumentException @expectedExceptionMessage The provided answer is ambiguous. Value should be one of env_2 or env_3.
QuestionHelperTest::testAsk in vendor/symfony/console/Tests/Helper/QuestionHelperTest.php
QuestionHelperTest::testAskAndValidate in vendor/symfony/console/Tests/Helper/QuestionHelperTest.php
QuestionHelperTest::testAskChoice in vendor/symfony/console/Tests/Helper/QuestionHelperTest.php
QuestionHelperTest::testAskConfirmation in vendor/symfony/console/Tests/Helper/QuestionHelperTest.php
@dataProvider getAskConfirmationData

... See full list

File

vendor/symfony/console/Tests/Helper/QuestionHelperTest.php, line 362

Class

QuestionHelperTest
@group tty

Namespace

Symfony\Component\Console\Tests\Helper

Code

protected function createOutputInterface() {
  return new StreamOutput(fopen('php://memory', 'r+', false));
}