/** * @covers Zend\Db\TableGateway\TableGateway::getLastInsertId * @todo Implement testGetLastInsertId(). */ public function testGetLastInsertId() { $this->table->insert(array('foo' => 'bar')); $this->assertEquals(10, $this->table->getLastInsertId()); }