예제 #1
0
 public function testRemoveColumn()
 {
     $columnBag = with(new \mechanicious\Columnizer\Columnizer($this->mockData))->columnizeRowArray();
     $tableman = new \mechanicious\Tableman\Tableman($columnBag);
     $tableman->removeColumn('name');
     $this->assertFalse(in_array('name', $tableman->getColumnHeaders()));
 }