| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function setUp() |
||
| 22 | { |
||
| 23 | $this->queryBuilder = $this->createMock('Doctrine\ODM\MongoDB\Query\Builder'); |
||
| 24 | $this->queryBuilder |
||
| 25 | ->expects($this->any()) |
||
| 26 | ->method('field') |
||
| 27 | ->will($this->returnSelf()) |
||
| 28 | ; |
||
| 29 | $this->expr = $this->createMock('Doctrine\ODM\MongoDB\Query\Expr'); |
||
| 30 | $this->expr |
||
| 31 | ->expects($this->any()) |
||
| 32 | ->method('field') |
||
| 33 | ->will($this->returnSelf()) |
||
| 34 | ; |
||
| 35 | $this->queryBuilder |
||
| 36 | ->expects($this->any()) |
||
| 37 | ->method('expr') |
||
| 38 | ->will($this->returnValue($this->expr)) |
||
| 39 | ; |
||
| 40 | } |
||
| 41 | |||
| 47 |