/** * @covers Fobia\DataBase\Handler\MySQL::getProfiles * @todo Implement testGetProfiles(). * @depends testGetProfilesCreate */ public function testGetProfiles($db) { $db->query("SELECT VERSION()"); $db->query("SELECT VERSION()"); $arr = $db->getProfiles(); $this->assertCount(2, $arr); $this->assertEquals('SELECT VERSION()', $arr[0]['query']); $this->assertCount(0, $this->db->getProfiles()); }