protected function SmsFrameworkMessageResultEntityTest::createMessageResult in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/SmsFrameworkMessageResultEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkMessageResultEntityTest::createMessageResult()
- 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\KernelCode
protected function createMessageResult() {
return SmsMessageResult::create();
}