* * @covers \Doctrine\ORM\LazyCriteriaCollection */ class LazyCriteriaCollectionTest extends PHPUnit_Framework_TestCase { /** * @var \Doctrine\ORM\Persisters\EntityPersister|\PHPUnit_Framework_MockObject_MockObject */ private $persister; /** * @var Criteria */ private $criteria; /** * @var LazyCriteriaCollection */ private $lazyCriteriaCollection; /** * {@inheritDoc} */ protected function setUp() { $this->persister = $this->getMock('Doctrine\ORM\Persisters\EntityPersister'); $this->criteria = new Criteria(); $this->$lazyCriteriaCollection = new LazyCriteriaCollection($this->persister, $this->criteria); } }