You are here

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

@dataProvider provideWriteArguments

File

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

Class

OutputTest

Namespace

Symfony\Component\Console\Tests\Output

Code

public function testWriteRawMessage($message, $type, $expectedOutput) {
  $output = new TestOutput();
  $output
    ->writeln($message, $type);
  $this
    ->assertEquals($expectedOutput, $output->output);
}