You are here

protected property UnitTestCase::$randomGenerator in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/UnitTestCase.php \Drupal\Tests\UnitTestCase::randomGenerator
  2. 10 core/tests/Drupal/Tests/UnitTestCase.php \Drupal\Tests\UnitTestCase::randomGenerator

The random generator.

Type: \Drupal\Component\Utility\Random

File

core/tests/Drupal/Tests/UnitTestCase.php, line 28

Class

UnitTestCase
Provides a base class and helpers for Drupal unit tests.

Namespace

Drupal\Tests

Code

protected $randomGenerator;