| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | abstract class AbstractDefinitionTest extends AbstractTest |
||
| 14 | { |
||
| 15 | protected function newDefinitionWithManager(): Definition |
||
| 16 | { |
||
| 17 | $definition = $this->newDefinition(); |
||
| 18 | |||
| 19 | $manager = \Mockery::mock(Records::class)->shouldAllowMockingProtectedMethods()->makePartial(); |
||
| 20 | $definition->setManager($manager); |
||
| 21 | |||
| 22 | return $definition; |
||
| 23 | } |
||
| 24 | |||
| 25 | protected function newDefinition(): Definition |
||
| 29 | } |
||
| 30 | } |
||
| 31 |