Вход Регистрация
Файл: symfony-2.7/src/Symfony/Component/Security/Acl/Tests/Permission/BasicPermissionMapTest.php
Строк: 30
<?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 SymfonyComponentSecurityAclTestsPermission;

use 
SymfonyComponentSecurityAclPermissionBasicPermissionMap;

class 
BasicPermissionMapTest extends PHPUnit_Framework_TestCase
{
    public function 
testGetMasksReturnsNullWhenNotSupportedMask()
    {
        
$map = new BasicPermissionMap();
        
$this->assertNull($map->getMasks('IS_AUTHENTICATED_REMEMBERED'null));
    }
}
Онлайн: 2
Реклама