You are here

public function SmsFrameworkGatewayEntityTest::testAutoCreateIncomingRoute in SMS Framework 8

Same name and namespace in other branches
  1. 2.x tests/src/Kernel/SmsFrameworkGatewayEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkGatewayEntityTest::testAutoCreateIncomingRoute()
  2. 2.1.x tests/src/Kernel/SmsFrameworkGatewayEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkGatewayEntityTest::testAutoCreateIncomingRoute()

Tests 'incoming_route' annotation custom value.

File

tests/src/Kernel/SmsFrameworkGatewayEntityTest.php, line 105

Class

SmsFrameworkGatewayEntityTest
Tests SMS Framework gateway entity.

Namespace

Drupal\Tests\sms\Kernel

Code

public function testAutoCreateIncomingRoute() {
  $gateway = $this
    ->createGateway([
    'plugin' => 'incoming',
  ]);
  $this
    ->assertTrue($gateway
    ->autoCreateIncomingRoute());
}