4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Console\Tests\Output;
14 use Symfony\Component\Console\Output\ConsoleOutput;
15 use Symfony\Component\Console\Output\Output;
17 class ConsoleOutputTest extends \PHPUnit_Framework_TestCase
19 public function testConstructor()
21 $output = new ConsoleOutput(Output::VERBOSITY_QUIET, true);
22 $this->assertEquals(Output::VERBOSITY_QUIET, $output->getVerbosity(), '__construct() takes the verbosity as its first argument');