public function CommandTest::testRunNonInteractive in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Command/CommandTest.php \Symfony\Component\Console\Tests\Command\CommandTest::testRunNonInteractive()
File
- vendor/
symfony/ console/ Tests/ Command/ CommandTest.php, line 226
Class
Namespace
Symfony\Component\Console\Tests\CommandCode
public function testRunNonInteractive() {
$tester = new CommandTester(new \TestCommand());
$tester
->execute(array(), array(
'interactive' => false,
));
$this
->assertEquals('execute called' . PHP_EOL, $tester
->getDisplay(), '->run() does not call the interact() method if the input is not interactive');
}