You are here

public function MessageTemplateTest::setUp in Message 8

Overrides UnitTestCase::setUp

File

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

Class

MessageTemplateTest
Unit tests for the message template entity.

Namespace

Drupal\Tests\message\Unit\Entity

Code

public function setUp() {
  parent::setUp();
  $this->messageTemplate = new MessageTemplate([
    'template' => 'foo_template',
  ], 'message_template');
}