| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function testDirectoryScannerWithPaths($paths, $expectedClasses) |
||
| 20 | { |
||
| 21 | $found = array_values(array_map( |
||
| 22 | function (\ReflectionClass $class) { |
||
| 23 | return $class->getName(); |
||
| 24 | }, |
||
| 25 | (new DirectoryClassScanner())->__invoke($paths) |
||
| 26 | )); |
||
| 27 | |||
| 28 | sort($found); |
||
| 29 | |||
| 30 | $this->assertEquals($expectedClasses, $found); |
||
| 31 | } |
||
| 32 | |||
| 68 |