public function testActivatedParam() { $config = array('meup_geo_location' => array('providers' => array('google' => array('activated' => false)))); $this->extension->load($config, $container = $this->getContainer()); $this->assertFalse($container->hasParameter('geo_location_google_api_key')); $this->assertFalse($container->has('meup_geo_location.google_locator')); }
/** * */ public function testProcess() { $this->extension->load(array(), $container = $this->getContainer()); $compiler = new LocatorCompilerPass(); $compiler->process($container); }