protected function QuestionHelperTest::createInputInterfaceMock 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::createInputInterfaceMock()
12 calls to QuestionHelperTest::createInputInterfaceMock()
- 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
File
- vendor/
symfony/ console/ Tests/ Helper/ QuestionHelperTest.php, line 367
Class
- QuestionHelperTest
- @group tty
Namespace
Symfony\Component\Console\Tests\HelperCode
protected function createInputInterfaceMock($interactive = true) {
$mock = $this
->getMock('Symfony\\Component\\Console\\Input\\InputInterface');
$mock
->expects($this
->any())
->method('isInteractive')
->will($this
->returnValue($interactive));
return $mock;
}