RoleTest.php 535 B

1234567891011121314151617181920212223
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. namespace Symfony\Tests\Component\Security\Role;
  10. use Symfony\Component\Security\Role\Role;
  11. class RoleTest extends \PHPUnit_Framework_TestCase
  12. {
  13. public function testGetRole()
  14. {
  15. $role = new Role('FOO');
  16. $this->assertEquals('FOO', $role->getRole());
  17. }
  18. }