@@ -64,6 +64,9 @@ discard block |
||
64 | 64 | ; |
65 | 65 | } |
66 | 66 | |
67 | + /** |
|
68 | + * @param integer $flag |
|
69 | + */ |
|
67 | 70 | public function assertPostEnabled($qb, $flag) |
68 | 71 | { |
69 | 72 | $qb->expects($this->once())->method('andWhere')->with($this->equalTo('p.enabled = :enabled')); |
@@ -249,6 +252,9 @@ discard block |
||
249 | 252 | $this->assertSame(new \DateTime('2010-03-10'), $result['params']['endDate']); |
250 | 253 | } |
251 | 254 | |
255 | + /** |
|
256 | + * @param \Closure $qbCallback |
|
257 | + */ |
|
252 | 258 | protected function getPostManager($qbCallback) |
253 | 259 | { |
254 | 260 | $em = EntityManagerMockFactory::create($this, $qbCallback, []); |