/**
  * @depends testInstanceOfConnector
  */
 public function testQueryFromSourceGettingConnector(\ActiveOracle\Connector\OracleConnector $connector = null)
 {
     $query = 'select * from dual';
     $connector->setDataSource(array_merge(array('connector' => 'oracle'), self::$dataSource))->openConnection();
     $stid = $connector->query($query);
     $this->assertNotEmpty($stid);
     $result = $connector->fetchAll($stid);
     $this->assertNotEmpty($result);
     $this->assertInternalType('array', $result);
 }
 /**
  * @depends testCheckIfGetInstanceIsTheSame
  */
 public function testSomeQuery(OracleConnector $ora_conn = null)
 {
     $query = 'select * from dual where rownum < 10';
     $ora_conn->setDataSource(self::$dataSource)->openConnection();
     $stid = $ora_conn->query($query);
     $this->assertNotEmpty($stid);
     $result = $ora_conn->fetchAll($stid);
     $this->assertNotEmpty($result);
     $this->assertInternalType('array', $result);
 }