statementMock; } /** * @param \Doctrine\DBAL\Driver\Statement $statementMock */ public function setStatementMock($statementMock) { $this->statementMock = $statementMock; } /** * {@inheritdoc} */ public function prepare($prepareString) { return $this->statementMock ?: new StatementMock(); } /** * {@inheritdoc} */ public function query() { return $this->statementMock ?: new StatementMock(); } /** * {@inheritdoc} */ public function quote($input, $type=\PDO::PARAM_STR) { } /** * {@inheritdoc} */ public function exec($statement) { } /** * {@inheritdoc} */ public function lastInsertId($name = null) { } /** * {@inheritdoc} */ public function beginTransaction() { } /** * {@inheritdoc} */ public function commit() { } /** * {@inheritdoc} */ public function rollBack() { } /** * {@inheritdoc} */ public function errorCode() { } /** * {@inheritdoc} */ public function errorInfo() { } }