public function SmsFrameworkMessageEntityTest::testCreatedTime in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/SmsFrameworkMessageEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkMessageEntityTest::testCreatedTime()
- 2.1.x tests/src/Kernel/SmsFrameworkMessageEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkMessageEntityTest::testCreatedTime()
Tests created time.
@covers ::getCreatedTime
File
- tests/
src/ Kernel/ SmsFrameworkMessageEntityTest.php, line 186
Class
- SmsFrameworkMessageEntityTest
- Tests SMS message entity.
Namespace
Drupal\Tests\sms\KernelCode
public function testCreatedTime() {
$sms_message = $this
->createSmsMessage();
$this
->assertEquals(REQUEST_TIME, $sms_message
->getCreatedTime());
}