You are here

public function SmsFrameworkGatewayEntityTest::testSupportsIncoming in SMS Framework 2.1.x

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

Tests 'incoming' annotation custom value.

File

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

Class

SmsFrameworkGatewayEntityTest
Tests SMS Framework gateway entity.

Namespace

Drupal\Tests\sms\Kernel

Code

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