Exemple #1
0
 public function getDriver()
 {
     return $this->driver->getDriver();
 }
Exemple #2
0
 /**
  * @expectedException \Rio\Exception
  * @expectedExceptionMessage Could not initialize database driver (unknown driver "foo")
  */
 public function testCreatingObjectWithInvalidDriver()
 {
     $adapter = new Adapter(['driver' => 'foo']);
     $adapter->getDriver();
 }