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\TestBag;
use Yarhon\RouteGuardBundle\Security\Test\TestInterface;
/**
* @author Yaroslav Honcharuk <[email protected]>
class TestBagTest extends TestCase
{
public function testGetTests()
$tests = [
$this->createMock(TestInterface::class),
];
$testBag = new TestBag($tests);
$this->assertSame($tests, $testBag->getTests());
}