You are here

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

@expectedException \InvalidArgumentException @expectedExceptionMessage Unknown output type given (24)

File

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

Class

OutputTest

Namespace

Symfony\Component\Console\Tests\Output

Code

public function testWriteWithInvalidOutputType() {
  $output = new TestOutput();
  $output
    ->writeln('<foo>foo</foo>', 24);
}