public function testSet() { $compareMatrix = array(array('1A'), array('2A')); $this->object->set($compareMatrix); $i = 0; foreach ($this->object as $row) { $this->assertEquals($row, $compareMatrix[$i++]); } }
/** * @expectedException \InvalidArgumentException */ public function testSetError2() { $this->object->set(array(array(1, 2, 3), 'hi')); }