You are here

public function ProtectionRuleUnitTest::testGetPermissionName in User protect 8

Tests getPermissionName().

File

tests/src/Kernel/Entity/ProtectionRuleUnitTest.php, line 146

Class

ProtectionRuleUnitTest
Various unit tests for protection rules.

Namespace

Drupal\Tests\userprotect\Kernel\Entity

Code

public function testGetPermissionName() {
  $this
    ->assertIdentical('userprotect.dummy.bypass', $this->protectionRule
    ->getPermissionName());
}