_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; } }