/** * @covers Zend\Db\Adapter\Driver\Oci8\Oci8::registerResultPrototype */ public function testRegisterResultPrototype() { $this->oci8 = new Oci8(array()); $mockStatement = $this->getMockForAbstractClass('Zend\\Db\\Adapter\\Driver\\Oci8\\Result', array(), '', true, true, true, array('setDriver')); $this->assertSame($this->oci8, $this->oci8->registerResultPrototype($mockStatement)); }