public function LegacyTableHelperTest::testRender in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Tests/Helper/LegacyTableHelperTest.php \Symfony\Component\Console\Tests\Helper\LegacyTableHelperTest::testRender()
@dataProvider testRenderProvider
File
- vendor/
symfony/ console/ Tests/ Helper/ LegacyTableHelperTest.php, line 38
Class
- LegacyTableHelperTest
- @group legacy
Namespace
Symfony\Component\Console\Tests\HelperCode
public function testRender($headers, $rows, $layout, $expected) {
$table = new TableHelper();
$table
->setHeaders($headers)
->setRows($rows)
->setLayout($layout);
$table
->render($output = $this
->getOutputStream());
$this
->assertEquals($expected, $this
->getOutputContent($output));
}