public function SmsFrameworkGatewayEntityTest::testSkipQueue in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/SmsFrameworkGatewayEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkGatewayEntityTest::testSkipQueue()
- 2.1.x tests/src/Kernel/SmsFrameworkGatewayEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkGatewayEntityTest::testSkipQueue()
Tests skip queue.
File
- tests/
src/ Kernel/ SmsFrameworkGatewayEntityTest.php, line 27
Class
- SmsFrameworkGatewayEntityTest
- Tests SMS Framework gateway entity.
Namespace
Drupal\Tests\sms\KernelCode
public function testSkipQueue() {
$gateway = $this
->createGateway();
$this
->assertFalse($gateway
->getSkipQueue(), 'Default value does not skip queue.');
$gateway
->setSkipQueue(TRUE);
$this
->assertTrue($gateway
->getSkipQueue());
}