public function ContentModerationNotificationTest::testGetRoleIds in Content Moderation Notifications 8.2
Same name and namespace in other branches
- 8.3 tests/src/Unit/Entity/ContentModerationNotificationTest.php \Drupal\Tests\content_moderation_notifications\Unit\Entity\ContentModerationNotificationTest::testGetRoleIds()
@covers ::getRoleIds
File
- tests/
src/ Unit/ Entity/ ContentModerationNotificationTest.php, line 71
Class
- ContentModerationNotificationTest
- Tests for the notification entity.
Namespace
Drupal\Tests\content_moderation_notifications\Unit\EntityCode
public function testGetRoleIds() {
$this
->assertEquals(static::$data['roles'], $this->notification
->getRoleIds());
}