Exemplo n.º 1
0
 public function testAppendColumn()
 {
     $columnBag = with(new \mechanicious\Columnizer\Columnizer($this->mockData))->columnizeRowArray();
     $tableman = new \mechanicious\Tableman\Tableman($columnBag);
     $tableman->appendColumn(new Column(array(true, true, false), 'is_human'));
     $this->assertEquals(array_reverse($tableman->getColumnHeaders())[0], 'is_human');
 }