You are here

public function ProtectionRuleUnitTest::testId in User protect 8

Tests id().

File

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

Class

ProtectionRuleUnitTest
Various unit tests for protection rules.

Namespace

Drupal\Tests\userprotect\Kernel\Entity

Code

public function testId() {
  $this
    ->assertIdentical('dummy', $this->protectionRule
    ->id());
}