GadgetFeatureRegistry = new TestGadgetFeatureRegistry(Config::get('features_path')); } /** * Cleans up the environment after running a test. */ protected function tearDown() { unset($_SERVER['HTTP_HOST']); $this->GadgetFeatureRegistry = null; parent::tearDown(); } /** * Tests GadgetFeatureRegistry->__construct() */ public function test__construct() { $this->GadgetFeatureRegistry->__construct(Config::get('features_path')); } public function testParseFeatureFileWithContainerGadgetAndAll() { $content = ' featureName dependency1 dependency2