/**
  * Test the type of return for getters method
  */
 public function testReturnValueOfGetters()
 {
     $path = $this->moduleContainer->getPath();
     $this->assertInternalType('string', $path);
     $filename = $this->moduleContainer->getFilename();
     $this->assertInternalType('string', $filename);
 }
 /**
  * @param Event $event
  */
 public function run(Event $event)
 {
     $result = array();
     $this->finder->files()->ignoreDotFiles(false)->name($this->moduleContainer->getFilename())->in($this->moduleContainer->getPath());
     /** @var SplFileInfo $file */
     foreach ($this->finder as $file) {
         $moduleInfo = $this->parser->extractRegisterInformation($file);
         $result[$moduleInfo['namespace']] = $moduleInfo['source_dir'];
     }
     $this->dumper->dumpAutoloadPsr4($result);
     $this->dumper->dumpModulesInstalled($this->parser);
 }