public function OutputTest::testWriteAnArrayOfMessages in Zircon Profile 8.0
Same name and namespace in other branches
- 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
Namespace
Symfony\Component\Console\Tests\OutputCode
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');
}