public function SmsFrameworkMessageTestTrait::testUuid in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Functional/SmsFrameworkMessageTestTrait.php \Drupal\Tests\sms\Functional\SmsFrameworkMessageTestTrait::testUuid()
- 2.1.x tests/src/Functional/SmsFrameworkMessageTestTrait.php \Drupal\Tests\sms\Functional\SmsFrameworkMessageTestTrait::testUuid()
Tests UUIDs for SMS messages.
@covers ::getUuid
File
- tests/
src/ Functional/ SmsFrameworkMessageTestTrait.php, line 258
Class
- SmsFrameworkMessageTestTrait
- SMS Message object test trait.
Namespace
Drupal\Tests\sms\FunctionalCode
public function testUuid() {
$sms1 = $this
->createSmsMessage();
$sms2 = $this
->createSmsMessage();
// Test that UUIDs are different.
$this
->assertNotEquals($sms1
->getUuid(), $sms2
->getUuid());
}