You are here

protected function SmsFrameworkMessageResultEntityTest::createMessageResult in SMS Framework 8

Same name and namespace in other branches
  1. 2.x tests/src/Kernel/SmsFrameworkMessageResultEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkMessageResultEntityTest::createMessageResult()
  2. 2.1.x tests/src/Kernel/SmsFrameworkMessageResultEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkMessageResultEntityTest::createMessageResult()

Creates a message result for testing.

Return value

\Drupal\sms\Message\SmsMessageResultInterface A result for testing.

Overrides SmsFrameworkMessageResultTestTrait::createMessageResult

File

tests/src/Kernel/SmsFrameworkMessageResultEntityTest.php, line 50

Class

SmsFrameworkMessageResultEntityTest
Tests the SMS message result entity.

Namespace

Drupal\Tests\sms\Kernel

Code

protected function createMessageResult() {
  return SmsMessageResult::create();
}