Exemple #1
0
 public function testColumnHas()
 {
     $columnBag = with(new \mechanicious\Columnizer\Columnizer($this->mockData))->columnizeRowArray();
     $tableman = new \mechanicious\Tableman\Tableman($columnBag);
     $this->assertEquals($tableman->columnHas('name', 'Tony'), true);
     $this->assertEquals($tableman->columnHas('age', '99'), false);
 }