/**
* @dataProvider provideRenderHorizontalTests
*/
public function testRenderHorizontal(array
$headers, array
$rows, string
$expected) { $table =
new Table($output =
$this->
getOutputStream());
$table ->
setHeaders($headers) ->
setRows($rows) ->
setHorizontal() ;
$table->
render();
$this->
assertEquals($expected,
$this->
getOutputContent($output));
} protected function getOutputStream($decorated = false
) { return new StreamOutput($this->stream, StreamOutput::VERBOSITY_NORMAL,
$decorated);
}