public function SmsFrameworkGatewayEntityTest::testGetMaxRecipientsOutgoingDefault in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/SmsFrameworkGatewayEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkGatewayEntityTest::testGetMaxRecipientsOutgoingDefault()
- 2.1.x tests/src/Kernel/SmsFrameworkGatewayEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkGatewayEntityTest::testGetMaxRecipientsOutgoingDefault()
Tests 'max outgoing recipients' annotation default value.
File
- tests/
src/ Kernel/ SmsFrameworkGatewayEntityTest.php, line 195
Class
- SmsFrameworkGatewayEntityTest
- Tests SMS Framework gateway entity.
Namespace
Drupal\Tests\sms\KernelCode
public function testGetMaxRecipientsOutgoingDefault() {
$gateway = $this
->createGateway([
'plugin' => 'capabilities_default',
]);
$this
->assertEquals(1, $gateway
->getMaxRecipientsOutgoing());
}