/** * @expectedException \LogicException */ public function testSetRowFailsIfMissingCells() { $table = new Table(); $table->setHeaderRow(array('a', 'b', 'c')); $table->setRow(0, array('a', 'b')); }
/** * @expectedException \LogicException */ public function testSetRowFailsIfMissingCells() { $table = new Table(); $table->setHeaderRow(array('a', 'b', 'c')); $table->setRow(0, array('a', 'b')); }