/** * @covers Zend\Db\Adapter\Driver\Oci8\Statement::prepare * @covers Zend\Db\Adapter\Driver\Oci8\Statement::isPrepared */ public function testPrepare() { $ociResource = oci_connect($this->variables['username'], $this->variables['password']); $statement = new Statement(); $statement->initialize($ociResource); $this->assertFalse($statement->isPrepared()); $this->assertSame($statement, $statement->prepare('SELECT * FROM DUAL')); $this->assertTrue($statement->isPrepared()); unset($resource, $ociResource); }