You are here

protected function SmsFrameworkResultUnitTest::createMessageResult in SMS Framework 8

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

Creates a message result for testing.

Return value

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

Overrides SmsFrameworkMessageResultTestTrait::createMessageResult

File

tests/src/Unit/Message/SmsFrameworkResultUnitTest.php, line 22

Class

SmsFrameworkResultUnitTest
Unit tests for results.

Namespace

Drupal\Tests\sms\Unit\Message

Code

protected function createMessageResult() {
  return new SmsMessageResult();
}