You are here

abstract protected function SmsFrameworkDeliveryReportTestTrait::createDeliveryReport in SMS Framework 8

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

Creates an SMS delivery report for testing.

Return value

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

7 calls to SmsFrameworkDeliveryReportTestTrait::createDeliveryReport()
SmsFrameworkDeliveryReportTestTrait::testMessageId in tests/src/Functional/SmsFrameworkDeliveryReportTestTrait.php
Tests message ID.
SmsFrameworkDeliveryReportTestTrait::testRecipient in tests/src/Functional/SmsFrameworkDeliveryReportTestTrait.php
Tests recipient.
SmsFrameworkDeliveryReportTestTrait::testStatus in tests/src/Functional/SmsFrameworkDeliveryReportTestTrait.php
Tests status.
SmsFrameworkDeliveryReportTestTrait::testStatusMessage in tests/src/Functional/SmsFrameworkDeliveryReportTestTrait.php
Tests status message.
SmsFrameworkDeliveryReportTestTrait::testStatusTime in tests/src/Functional/SmsFrameworkDeliveryReportTestTrait.php
Tests status time.

... See full list

2 methods override SmsFrameworkDeliveryReportTestTrait::createDeliveryReport()
SmsFrameworkDeliveryReportEntityTest::createDeliveryReport in tests/src/Kernel/SmsFrameworkDeliveryReportEntityTest.php
Creates an SMS delivery report for testing.
SmsFrameworkDeliveryReportUnitTest::createDeliveryReport in tests/src/Unit/Message/SmsFrameworkDeliveryReportUnitTest.php
Creates an SMS delivery report for testing.

File

tests/src/Functional/SmsFrameworkDeliveryReportTestTrait.php, line 137

Class

SmsFrameworkDeliveryReportTestTrait
Provides common tests for SmsDeliveryReport object and entity classes.

Namespace

Drupal\Tests\sms\Functional

Code

protected abstract function createDeliveryReport();