/** * @covers Fuel\Core\OrientDB::query */ public function testQuery() { $result = OrientDB::query("SELECT a,b,c FROM OGraphVertex WHERE a=1 AND b='x' AND c='y'"); // var_dump(get_class($result)); // $this->assertEquals(is_a($result, "Doctrine\OrientDB\Query\Command"), TRUE); // $this->assertEquals($result->getTokenValue("Projections"), array('a', 'b', 'c')); // var_dump($result); $this->assertEquals(is_a($result, "Fuel\\Core\\Database_Query"), TRUE); }