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\EntityCode
public function testId() {
$this
->assertIdentical('dummy', $this->protectionRule
->id());
}