FOS\UserBundle\Tests\DependencyInjection\FOSUserExtensionTest::testUserLoadThrowsExceptionUnlessDatabaseDriverIsValid PHP Method

testUserLoadThrowsExceptionUnlessDatabaseDriverIsValid() public method

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