/**
  * @test
  */
 public function flowPackageClassesForNonMatchingIncludesAreRemoved()
 {
     $packagePath = 'vfs://Packages/Vendor.AnotherPackage/';
     mkdir($packagePath . 'Classes/', 0777, true);
     file_put_contents($packagePath . 'composer.json', '{"name": "vendor/anotherpackage", "type": "typo3-flow"}');
     file_put_contents($packagePath . 'Classes/Test.php', '<?php ?>');
     $testPackage = new Package('Vendor.AnotherPackage', 'vendor/anotherpackage', $packagePath, ['psr-0' => ['Vendor\\AnotherPackage' => 'Classes/']]);
     $objectManagementEnabledClasses = $this->compileTimeObjectManager->_call('registerClassFiles', ['Vendor.AnotherPackage' => $testPackage]);
     // Count is at least 1 as '' => 'DateTime' is hardcoded
     $this->assertCount(1, $objectManagementEnabledClasses);
 }