You are here

public function OutputTest::testSetIsDecorated in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Output/OutputTest.php \Symfony\Component\Console\Tests\Output\OutputTest::testSetIsDecorated()

File

vendor/symfony/console/Tests/Output/OutputTest.php, line 26

Class

OutputTest

Namespace

Symfony\Component\Console\Tests\Output

Code

public function testSetIsDecorated() {
  $output = new TestOutput();
  $output
    ->setDecorated(true);
  $this
    ->assertTrue($output
    ->isDecorated(), 'setDecorated() sets the decorated flag');
}