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