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\Configuration;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
/**
* Unit test for the ConfigurationTest.
* @author Michael COULLERET <[email protected]>
* @author Florent DESPIERRES <[email protected]>
class ConfigurationTest extends \PHPUnit_Framework_TestCase
{
public function testGetConfigTreeBuilder()
$configuration = new Configuration();
$treeBuilder = $configuration->getConfigTreeBuilder();
$this->assertInstanceOf(ArrayNodeDefinition::class, $treeBuilder->root('oslab_security_api'));
}