for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the SecurityApiBundle package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace OsLab\SecurityApiBundle\Tests\User;
use OsLab\SecurityApiBundle\DependencyInjection\OsLabSecurityApiExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* Class OsLabSecurityApiExtensionTest
* @author Michael COULLERET <[email protected]>
* @author Florent DESPIERRES <[email protected]>
class OsLabSecurityApiExtensionTest extends \PHPUnit_Framework_TestCase
{
public function testConfigLoad()
$extension = new OsLabSecurityApiExtension();
$container = new ContainerBuilder();
$extension->load(array(), $container);
$this->assertTrue($container->hasDefinition('oslab_security_api.security.authentication.authenticator'));
}