public function StreamOutputTest::testConstructor in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Output/StreamOutputTest.php \Symfony\Component\Console\Tests\Output\StreamOutputTest::testConstructor()
File
- vendor/
symfony/ console/ Tests/ Output/ StreamOutputTest.php, line 31
Class
Namespace
Symfony\Component\Console\Tests\OutputCode
public function testConstructor() {
$output = new StreamOutput($this->stream, 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');
}