You are here

public function SmsFrameworkGatewayEntityTest::testIsScheduleAwareCustom 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::testIsScheduleAwareCustom()
  2. 2.x tests/src/Kernel/SmsFrameworkGatewayEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkGatewayEntityTest::testIsScheduleAwareCustom()

Tests 'schedule aware annotation' custom value.

File

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

Class

SmsFrameworkGatewayEntityTest
Tests SMS Framework gateway entity.

Namespace

Drupal\Tests\sms\Kernel

Code

public function testIsScheduleAwareCustom() {
  $gateway = $this
    ->createGateway([
    'plugin' => 'memory_schedule_aware',
  ]);
  $this
    ->assertTrue($gateway
    ->isScheduleAware());
}