Example #1
0
 /**
  * @test
  */
 public function getPackageDocumentationsReturnsEmptyArrayIfDocumentationDirectoryDoesntExist()
 {
     \vfsStreamWrapper::register();
     \vfsStreamWrapper::setRoot(new \vfsStreamDirectory('testDirectory'));
     $packagePath = \vfsStream::url('testDirectory') . '/';
     $package = new Package('TYPO3.FLOW3', $packagePath);
     $documentations = $package->getPackageDocumentations();
     $this->assertEquals(array(), $documentations);
 }