Commit 76583b49 authored by Gabriel Caruso's avatar Gabriel Caruso

Remove unused methods and proprity

parent bde444d1
......@@ -4,11 +4,6 @@ namespace Doctrine\Tests\Mocks;
class ConnectionMock extends \Doctrine\DBAL\Connection
{
/**
* @var
*/
private $_fetchOneResult;
/**
* @var DatabasePlatformMock
*/
......@@ -58,14 +53,6 @@ class ConnectionMock extends \Doctrine\DBAL\Connection
return $this->_lastInsertId;
}
/**
* @override
*/
public function fetchColumn($statement, array $params = array(), $colnum = 0, array $types = array())
{
return $this->_fetchOneResult;
}
/**
* @override
*/
......@@ -77,13 +64,6 @@ class ConnectionMock extends \Doctrine\DBAL\Connection
return $input;
}
/* Mock API */
public function setFetchOneResult($fetchOneResult)
{
$this->_fetchOneResult = $fetchOneResult;
}
public function setLastInsertId($id)
{
$this->_lastInsertId = $id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment