protected function SmsFrameworkDeliveryReportEntityTest::createDeliveryReport in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/SmsFrameworkDeliveryReportEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkDeliveryReportEntityTest::createDeliveryReport()
- 2.1.x tests/src/Kernel/SmsFrameworkDeliveryReportEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkDeliveryReportEntityTest::createDeliveryReport()
Creates an SMS delivery report for testing.
Return value
\Drupal\sms\Message\SmsDeliveryReportInterface A delivery report for testing.
Overrides SmsFrameworkDeliveryReportTestTrait::createDeliveryReport
2 calls to SmsFrameworkDeliveryReportEntityTest::createDeliveryReport()
- SmsFrameworkDeliveryReportEntityTest::testTimeDelivered in tests/
src/ Kernel/ SmsFrameworkDeliveryReportEntityTest.php - Tests time delivered.
- SmsFrameworkDeliveryReportEntityTest::testTimeQueued in tests/
src/ Kernel/ SmsFrameworkDeliveryReportEntityTest.php - Tests time queued.
File
- tests/
src/ Kernel/ SmsFrameworkDeliveryReportEntityTest.php, line 56
Class
- SmsFrameworkDeliveryReportEntityTest
- Tests the SMS Delivery report entity.
Namespace
Drupal\Tests\sms\KernelCode
protected function createDeliveryReport() {
return SmsDeliveryReport::create();
}