Вход Регистрация
Файл: symfony-2.7/src/Symfony/Component/Security/Core/Tests/Role/RoleTest.php
Строк: 22
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace SymfonyComponentSecurityCoreTestsRole;

use 
SymfonyComponentSecurityCoreRoleRole;

class 
RoleTest extends PHPUnit_Framework_TestCase
{
    public function 
testGetRole()
    {
        
$role = new Role('FOO');

        
$this->assertEquals('FOO'$role->getRole());
    }
}
Онлайн: 1
Реклама