You are here

public function MessageTemplateTest::testSetUuid in Message 8

Tests getting and setting uuid.

@covers ::setUuid @covers ::getUuid

File

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

Class

MessageTemplateTest
Unit tests for the message template entity.

Namespace

Drupal\Tests\message\Unit\Entity

Code

public function testSetUuid() {
  $uuid = 'a-uuid-123';
  $this->messageTemplate
    ->setUuid($uuid);
  $this
    ->assertEquals($uuid, $this->messageTemplate
    ->getUuid());
}