public function testDiff() { $columnBag = with(new \mechanicious\Columnizer\Columnizer($this->mockData))->columnizeRowArray(); $tableman = new \mechanicious\Tableman\Tableman($columnBag); $deleted = array_pop($this->mockData); // Note: $tableman get's prefilled with null, we deleted 2 entry from the testee. $this->assertEquals($tableman->diff($this->mockData), array(array('hobby' => null), $deleted)); }