You are here

public function SmsFrameworkGatewayEntityTest::testNotSupportsIncoming in SMS Framework 8

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

Tests 'incoming' annotation default value.

File

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

Class

SmsFrameworkGatewayEntityTest
Tests SMS Framework gateway entity.

Namespace

Drupal\Tests\sms\Kernel

Code

public function testNotSupportsIncoming() {
  $gateway = $this
    ->createGateway([
    'plugin' => 'capabilities_default',
  ]);
  $this
    ->assertFalse($gateway
    ->supportsIncoming());
}