BasicPermissionMapTest.php 620 B

1234567891011121314151617181920212223
  1. <?php
  2. /*
  3. * This file is part of the Symfony framework.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace Symfony\Tests\Component\Security\Acl\Permission;
  11. use Symfony\Component\Security\Acl\Permission\BasicPermissionMap;
  12. class BasicPermissionMapTest extends \PHPUnit_Framework_TestCase
  13. {
  14. public function testGetMasksReturnsNullWhenNotSupportedMask()
  15. {
  16. $map = new BasicPermissionMap();
  17. $this->assertNull($map->getMasks('IS_AUTHENTICATED_REMEMBERED', null));
  18. }
  19. }