public function OutputTest::testConstructor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Output/OutputTest.php \Symfony\Component\Console\Tests\Output\OutputTest::testConstructor()
File
- vendor/
symfony/ console/ Tests/ Output/ OutputTest.php, line 19
Class
Namespace
Symfony\Component\Console\Tests\OutputCode
public function testConstructor() {
$output = new TestOutput(Output::VERBOSITY_QUIET, true);
$this
->assertEquals(Output::VERBOSITY_QUIET, $output
->getVerbosity(), '__construct() takes the verbosity as its first argument');
$this
->assertTrue($output
->isDecorated(), '__construct() takes the decorated flag as its second argument');
}