public function InputTest::testSetGetInteractive in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Input/InputTest.php \Symfony\Component\Console\Tests\Input\InputTest::testSetGetInteractive()
File
- vendor/
symfony/ console/ Tests/ Input/ InputTest.php, line 114
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testSetGetInteractive() {
$input = new ArrayInput(array());
$this
->assertTrue($input
->isInteractive(), '->isInteractive() returns whether the input should be interactive or not');
$input
->setInteractive(false);
$this
->assertFalse($input
->isInteractive(), '->setInteractive() changes the interactive flag');
}