/** * @covers Zend\Db\RowGateway\RowGateway::toArray */ public function testToArray() { $this->rowGateway->populate(array('id' => 5, 'name' => 'foo'), true); $this->assertEquals(array('id' => 5, 'name' => 'foo'), $this->rowGateway->toArray()); }
/** * @covers Zend\Db\RowGateway\RowGateway::toArray */ public function testToArray() { $this->rowGateway->populate(array('id' => 5, 'name' => 'foo'), true); $this->assertEquals(array('id' => 5, 'name' => 'foo'), $this->rowGateway->toArray()); }