public function ContentModerationNotificationTest::getMessageFormat 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::getMessageFormat()
@covers ::getMessageFormat
File
- tests/
src/ Unit/ Entity/ ContentModerationNotificationTest.php, line 99
Class
- ContentModerationNotificationTest
- Tests for the notification entity.
Namespace
Drupal\Tests\content_moderation_notifications\Unit\EntityCode
public function getMessageFormat() {
$this
->assertEquals(static::$data['body']['format'], $this->notification
->getMessageFormat());
}