You are here

protected function TestSmsMessage::uuidGenerator in SMS Framework 8

Same name and namespace in other branches
  1. 2.x tests/src/Unit/Message/SmsMessageTest.php \Drupal\Tests\sms\Unit\Message\TestSmsMessage::uuidGenerator()
  2. 2.1.x tests/src/Unit/Message/SmsMessageTest.php \Drupal\Tests\sms\Unit\Message\TestSmsMessage::uuidGenerator()

Gets the UUID generator.

Return value

\Drupal\Component\Uuid\UuidInterface The UUID generator.

Overrides SmsMessage::uuidGenerator

File

tests/src/Unit/Message/SmsMessageTest.php, line 40

Class

TestSmsMessage
Mock class for testing.

Namespace

Drupal\Tests\sms\Unit\Message

Code

protected function uuidGenerator() {
  return new Php();
}