diff options
Diffstat (limited to 'Acl/Tests/Permission/BasicPermissionMapTest.php')
-rw-r--r-- | Acl/Tests/Permission/BasicPermissionMapTest.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Acl/Tests/Permission/BasicPermissionMapTest.php b/Acl/Tests/Permission/BasicPermissionMapTest.php new file mode 100644 index 0000000..2afe588 --- /dev/null +++ b/Acl/Tests/Permission/BasicPermissionMapTest.php @@ -0,0 +1,23 @@ +<?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 Symfony\Component\Security\Acl\Tests\Permission; + +use Symfony\Component\Security\Acl\Permission\BasicPermissionMap; + +class BasicPermissionMapTest extends \PHPUnit_Framework_TestCase +{ + public function testGetMasksReturnsNullWhenNotSupportedMask() + { + $map = new BasicPermissionMap(); + $this->assertNull($map->getMasks('IS_AUTHENTICATED_REMEMBERED', null)); + } +} |