Conditions | 4 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function testMappingOnlyContainExistingClasses() |
||
10 | { |
||
11 | $migrator = new Migrator(); |
||
12 | |||
13 | foreach ($migrator->getMapping() as $classname) { |
||
14 | if (substr_count($classname, '\\')) { |
||
15 | $this->assertTrue(class_exists($classname) || interface_exists($classname), 'mapping is wrong, class does not exists in project: ' . $classname); |
||
16 | } |
||
17 | } |
||
18 | } |
||
19 | } |
||
20 |