public function SmsFrameworkMessageEntityTest::testQueued in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/SmsFrameworkMessageEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkMessageEntityTest::testQueued()
- 2.1.x tests/src/Kernel/SmsFrameworkMessageEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkMessageEntityTest::testQueued()
Tests is queued.
@covers ::isQueued @covers ::setQueued
File
- tests/
src/ Kernel/ SmsFrameworkMessageEntityTest.php, line 172
Class
- SmsFrameworkMessageEntityTest
- Tests SMS message entity.
Namespace
Drupal\Tests\sms\KernelCode
public function testQueued() {
$sms_message1 = $this
->createSmsMessage();
$this
->assertFalse($sms_message1
->isQueued());
$sms_message2 = $this
->createSmsMessage();
$sms_message2
->setQueued(TRUE);
$this
->assertTrue($sms_message2
->isQueued());
}