public function ProtectionRuleUnitTest::testGetProtections in User protect 8
Tests getProtections().
File
- tests/
src/ Kernel/ Entity/ ProtectionRuleUnitTest.php, line 106
Class
- ProtectionRuleUnitTest
- Various unit tests for protection rules.
Namespace
Drupal\Tests\userprotect\Kernel\EntityCode
public function testGetProtections() {
$this
->assertInstanceOf(UserProtectionPluginCollection::class, $this->protectionRule
->getProtections());
}