public function SmsFrameworkMessageEntityTest::testGetResultNoResult in SMS Framework 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/SmsFrameworkMessageEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkMessageEntityTest::testGetResultNoResult()
- 2.1.x tests/src/Kernel/SmsFrameworkMessageEntityTest.php \Drupal\Tests\sms\Kernel\SmsFrameworkMessageEntityTest::testGetResultNoResult()
Tests that getResult returns null if no result is set.
@covers ::getResult
File
- tests/
src/ Kernel/ SmsFrameworkMessageEntityTest.php, line 324
Class
- SmsFrameworkMessageEntityTest
- Tests SMS message entity.
Namespace
Drupal\Tests\sms\KernelCode
public function testGetResultNoResult() {
$sms_message = SmsMessage::create();
$this
->assertNull($sms_message
->getResult());
}