for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
*
* (c) Yaroslav Honcharuk <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Yarhon\RouteGuardBundle\Tests\Security\Test;
use PHPUnit\Framework\TestCase;
use Yarhon\RouteGuardBundle\Security\Test\SensioExtraTest;
/**
* @author Yaroslav Honcharuk <[email protected]>
class SensioExtraTestTest extends TestCase
{
public function testMetadata()
$test = new SensioExtraTest([]);
$self = $test->setMetadata('foo', 5);
$this->assertSame($test, $self);
$this->assertSame(5, $test->getMetadata('foo'));
$this->assertNull($test->getMetadata('bar'));
}