Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
33 | 2 | protected function assertPostConditions() |
|
34 | { |
||
35 | 2 | parent::assertPostConditions(); |
|
36 | |||
37 | // Add Mockery expectations to assertion count. |
||
38 | 2 | if (($container = \Mockery::getContainer()) !== null) { |
|
39 | 2 | $this->addToAssertionCount($container->mockery_getExpectationCount()); |
|
40 | } |
||
41 | |||
42 | // Verify Mockery expectations. |
||
43 | 2 | \Mockery::close(); |
|
44 | 2 | } |
|
45 | } |
||
46 |