-
-
Save samsonasik/185ecbca574d2803cbd5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Use the Abstract query, which has nearly all needed Methods as the Query. | |
$this->queryMock = $this->getMockBuilder('\Doctrine\ORM\AbstractQuery') | |
->setMethods(array('setParameter', 'getResult')) | |
->disableOriginalConstructor() | |
->getMockForAbstractClass(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment