public function QuestionHelperTest::testNoInteraction in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Helper/QuestionHelperTest.php \Symfony\Component\Console\Tests\Helper\QuestionHelperTest::testNoInteraction()
File
- vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php, line 346
Class
- QuestionHelperTest
- @group tty
Namespace
Symfony\Component\Console\Tests\HelperCode
public function testNoInteraction() {
$dialog = new QuestionHelper();
$question = new Question('Do you have a job?', 'not yet');
$this
->assertEquals('not yet', $dialog
->ask($this
->createInputInterfaceMock(false), $this
->createOutputInterface(), $question));
}