| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | private function getEntityManagerMock() |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var $this TestCase |
||
| 14 | */ |
||
| 15 | return $this->getMockBuilder(EntityManagerInterface::class) |
||
| 16 | ->setMethods(['getRepository', 'getClassMetadata', 'persist', 'flush', 'find']) |
||
| 17 | ->disableOriginalConstructor() |
||
| 18 | ->getMock(); |
||
| 19 | } |
||
| 21 |