protected function SmsFrameworkResultUnitTest::createMessageResult in SMS Framework 2.x
Same name and namespace in other branches
- 8 tests/src/Unit/Message/SmsFrameworkResultUnitTest.php \Drupal\Tests\sms\Unit\Message\SmsFrameworkResultUnitTest::createMessageResult()
- 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 24
Class
- SmsFrameworkResultUnitTest
- Unit tests for results.
Namespace
Drupal\Tests\sms\Unit\MessageCode
protected function createMessageResult() {
return new SmsMessageResult();
}