_em = $this->_getTestEntityManager(); } /** Helper method */ protected function _createParserResult($stmt, $queryComponents, $tableToClassAliasMap, $hydrationMode, $isMixedQuery = false) { $parserResult = new Doctrine_ORM_Query_ParserResultDummy(); $parserResult->setDatabaseStatement($stmt); $parserResult->setHydrationMode($hydrationMode); $parserResult->setQueryComponents($queryComponents); $parserResult->setTableToClassAliasMap($tableToClassAliasMap); $parserResult->setMixedQuery($isMixedQuery); return $parserResult; } }