You are here

public function MessageTemplateTest::testId in Message 8

Test the ID method.

@covers ::id

File

tests/src/Unit/Entity/MessageTemplateTest.php, line 42

Class

MessageTemplateTest
Unit tests for the message template entity.

Namespace

Drupal\Tests\message\Unit\Entity

Code

public function testId() {
  $this
    ->assertSame('foo_template', $this->messageTemplate
    ->id());
}