You are here

public function SmsFrameworkGatewayEntityTest::testSupportsCreditBalanceQueryCustom in SMS Framework 2.x

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

Tests 'supports credit balance' annotation custom value.

File

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

Class

SmsFrameworkGatewayEntityTest
Tests SMS Framework gateway entity.

Namespace

Drupal\Tests\sms\Kernel

Code

public function testSupportsCreditBalanceQueryCustom() {
  $gateway = $this
    ->createGateway([
    'plugin' => 'memory',
  ]);
  $this
    ->assertTrue($gateway
    ->supportsCreditBalanceQuery());
}