new Chash\Helpers\ConfigurationHelper() ); $helperSet = $application->getHelperSet(); foreach ($helpers as $name => $helper) { $helperSet->set($helper, $name); } //$application->add(new CleanConfigFilesCommand()); //$command = $application->find('files:clean_config_files'); //$this->assertEquals('Chash\Command\Files\CleanConfigFilesCommand', get_class($command)); /* $commandTester = new CommandTester($command); $returnCode = $commandTester->execute( array( 'command' => $command->getName(), '--conf' => 'chamilo/config/configuration.php' ) );*/ // var_dump(realpath(__DIR__.'/../../Resources/configuration.php')); // $this->assertRegExp('/11/', $commandTester->getDisplay()); } }