/**
  * @dataProvider loadConfigurationDataProvider
  */
 public function testLoadConfiguration(array $configs, array $bundles, array $expectedConfiguration)
 {
     $container = $this->createContainer($bundles);
     $this->extension->load($configs, $container);
     $this->assertTrue($container->hasDefinition('oro_help.model.help_link_provider'));
     $linkProvider = $container->getDefinition('oro_help.model.help_link_provider');
     $this->assertEquals(array(array('setConfiguration', array($expectedConfiguration))), $linkProvider->getMethodCalls());
 }
 /**
  * @dataProvider loadConfigurationDataProvider
  */
 public function testLoadConfiguration(array $configs, array $bundles, array $expectedConfiguration)
 {
     CumulativeResourceManager::getInstance()->clear()->setBundles($bundles);
     $container = new ContainerBuilder();
     $this->extension->load($configs, $container);
     $this->assertTrue($container->hasDefinition('oro_help.model.help_link_provider'));
     $linkProvider = $container->getDefinition('oro_help.model.help_link_provider');
     $this->assertContains($linkProvider->getMethodCalls()[1], array(array('setConfiguration', array($expectedConfiguration))));
 }