You are here

protected function SmsFrameworkDeliveryReportUnitTest::createDeliveryReport in SMS Framework 2.x

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

Creates an SMS delivery report for testing.

Return value

\Drupal\sms\Message\SmsDeliveryReportInterface A delivery report for testing.

Overrides SmsFrameworkDeliveryReportTestTrait::createDeliveryReport

File

tests/src/Unit/Message/SmsFrameworkDeliveryReportUnitTest.php, line 24

Class

SmsFrameworkDeliveryReportUnitTest
Unit tests for delivery reports.

Namespace

Drupal\Tests\sms\Unit\Message

Code

protected function createDeliveryReport() {
  return new SmsDeliveryReport();
}