public function testFetchAll() { $result = $this->db->fetchAll("SELECT * FROM test LIMIT 10"); $this->assertEquals(10, sizeof($result)); }