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