public function MessageTemplateTest::testSetDescription in Message 8
Tests getting and setting description.
@covers ::setDescription @covers ::getDescription
File
- tests/
src/ Unit/ Entity/ MessageTemplateTest.php, line 71
Class
- MessageTemplateTest
- Unit tests for the message template entity.
Namespace
Drupal\Tests\message\Unit\EntityCode
public function testSetDescription() {
$description = 'A description';
$this->messageTemplate
->setDescription($description);
$this
->assertEquals($description, $this->messageTemplate
->getDescription());
}