You are here

protected function SmsFrameworkRecipientGatewayEventTest::setUp in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 tests/src/Kernel/SmsFrameworkRecipientGatewayEventTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkRecipientGatewayEventTest::setUp()
  2. 2.x tests/src/Kernel/SmsFrameworkRecipientGatewayEventTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkRecipientGatewayEventTest::setUp()

Overrides SmsFrameworkKernelBase::setUp

File

tests/src/Kernel/SmsFrameworkRecipientGatewayEventTest.php, line 35

Class

SmsFrameworkRecipientGatewayEventTest
Tests SMS Framework provider service.

Namespace

Drupal\Tests\sms\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('sms');
  $this->smsProvider = $this->container
    ->get('sms.provider');
  $this
    ->setFallbackGateway(NULL);
}