You are here

public function OutputTest::testWriteAnArrayOfMessages in Zircon Profile 8.0

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

File

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

Class

OutputTest

Namespace

Symfony\Component\Console\Tests\Output

Code

public function testWriteAnArrayOfMessages() {
  $output = new TestOutput();
  $output
    ->writeln(array(
    'foo',
    'bar',
  ));
  $this
    ->assertEquals("foo\nbar\n", $output->output, '->writeln() can take an array of messages to output');
}