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