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