class ConsoleOutputTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Output/ConsoleOutputTest.php \Symfony\Component\Console\Tests\Output\ConsoleOutputTest
Hierarchy
- class \Symfony\Component\Console\Tests\Output\ConsoleOutputTest extends \Symfony\Component\Console\Tests\Output\PHPUnit_Framework_TestCase
Expanded class hierarchy of ConsoleOutputTest
File
- vendor/
symfony/ console/ Tests/ Output/ ConsoleOutputTest.php, line 17
Namespace
Symfony\Component\Console\Tests\OutputView source
class ConsoleOutputTest extends \PHPUnit_Framework_TestCase {
public function testConstructor() {
$output = new ConsoleOutput(Output::VERBOSITY_QUIET, true);
$this
->assertEquals(Output::VERBOSITY_QUIET, $output
->getVerbosity(), '__construct() takes the verbosity as its first argument');
$this
->assertSame($output
->getFormatter(), $output
->getErrorOutput()
->getFormatter(), '__construct() takes a formatter or null as the third argument');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConsoleOutputTest:: |
public | function |