You are here

protected function EntityControllerCacheUtilsTrait::getRandomUniqueId in Apigee Edge 8

Gets a random unique ID.

4 calls to EntityControllerCacheUtilsTrait::getRandomUniqueId()
EntityControllerCacheTest::testAppEntityControllerCache in tests/src/Kernel/EntityControllerCacheTest.php
Tests app entity controller cache.
EntityControllerCacheTest::testDeveloperAppEntityControllerCache in tests/src/Kernel/EntityControllerCacheTest.php
Tests developer app entity controller cache.
EntityControllerCacheTest::testDeveloperEntityControllerCache in tests/src/Kernel/EntityControllerCacheTest.php
Tests developer entity controller cache.
EntityControllerCacheTest::testTeamEntityControllerCache in modules/apigee_edge_teams/tests/src/Kernel/EntityControllerCacheTest.php
Tests team entity controller cache.

File

tests/src/Traits/EntityControllerCacheUtilsTrait.php, line 69

Class

EntityControllerCacheUtilsTrait
A trait to common functions of entity controller tests.

Namespace

Drupal\Tests\apigee_edge\Traits

Code

protected function getRandomUniqueId() : string {
  return $this->container
    ->get('uuid')
    ->generate();
}