getAdapter() public method

Get db adapter
public getAdapter ( ) : Zend\Db\Adapter\Adapter
return Zend\Db\Adapter\Adapter
Example #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testAddContentWithWrongParameters()
 {
     $this->setExpectedException('\\Gc\\Exception');
     $this->assertNull($this->object->addContent($this->object, $this->object->getAdapter()));
 }