public function NullOutputTest::testVerbosity in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Output/NullOutputTest.php \Symfony\Component\Console\Tests\Output\NullOutputTest::testVerbosity()
File
- vendor/
symfony/ console/ Tests/ Output/ NullOutputTest.php, line 31
Class
Namespace
Symfony\Component\Console\Tests\OutputCode
public function testVerbosity() {
$output = new NullOutput();
$this
->assertSame(OutputInterface::VERBOSITY_QUIET, $output
->getVerbosity(), '->getVerbosity() returns VERBOSITY_QUIET for NullOutput by default');
$output
->setVerbosity(OutputInterface::VERBOSITY_VERBOSE);
$this
->assertSame(OutputInterface::VERBOSITY_QUIET, $output
->getVerbosity(), '->getVerbosity() always returns VERBOSITY_QUIET for NullOutput');
}