/** * @expectedException \Congow\Orient\Exception\Query\SQL\Invalid */ public function testAnExceptionGetsRaisedWhenExecutingAWrongQuery() { $query = new Query(array('Address')); $query->update('Address')->set(array())->where('@rid = ?', '1:10000'); $result = $this->manager->execute($query); }