public function testUserLoadThrowsExceptionUnlessProviderKeySet() { $loader = new FOSUserExtension(); $config = $this->getEmptyConfig(); unset($config['provider_key']); $loader->load(array($config), new ContainerBuilder()); }