Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
32 | public function testContainerInjectedToAwareMigration () |
||
33 | { |
||
34 | $migration = $this->service->createMigrationInstance( |
||
35 | new Name('ContainerAwareMigration'), |
||
36 | new NullOutput() |
||
37 | ); |
||
38 | |||
39 | self::assertAttributeInstanceOf( |
||
40 | ContainerInterface::class, |
||
41 | 'container', |
||
42 | $migration, |
||
43 | 'Container wasn\'t injected to a Migration by the Service' |
||
44 | ); |
||
45 | } |
||
46 | } |
||
47 |