You are here

public function OutputTest::testWriteWithVerbosityQuiet 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::testWriteWithVerbosityQuiet()

File

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

Class

OutputTest

Namespace

Symfony\Component\Console\Tests\Output

Code

public function testWriteWithVerbosityQuiet() {
  $output = new TestOutput(Output::VERBOSITY_QUIET);
  $output
    ->writeln('foo');
  $this
    ->assertEquals('', $output->output, '->writeln() outputs nothing if verbosity is set to VERBOSITY_QUIET');
}