Beispiel #1
0
 /**
  * @depends testRegisterConnection
  * @covers Zend\Db\Adapter\Driver\IbmDb2\IbmDb2::getConnection
  */
 public function testGetConnection($mockConnection)
 {
     $conn = new \Zend\Db\Adapter\Driver\IbmDb2\Connection(array());
     $this->ibmdb2->registerConnection($conn);
     $this->assertSame($conn, $this->ibmdb2->getConnection());
 }