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