You are here

11 calls to UnitTestCase::getRandomGenerator() in Drupal 10

AccessResultForbiddenTest::testConstruction in core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php
Tests the construction of an AccessResultForbidden object.
AccessResultForbiddenTest::testSetReason in core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php
Tests setReason()
AccessResultNeutralTest::testConstruction in core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php
Tests the construction of an AccessResultForbidden object.
AccessResultNeutralTest::testSetReason in core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php
Tests setReason()
AccessResultTest::testAccessForbiddenReason in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
@covers ::forbidden
ReadOnlyStorageTest::setRandomFixtureConfig in core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php
Generate random config in the memory storage.
ReadOnlyStorageTest::testEncodeDecode in core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php
@covers ::encode @covers ::decode
ReadOnlyStorageTest::writeMethodsProvider in core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php
Provide the methods that throw an exception.
RendererRecursionTest::setUpRenderRecursionComplexElements in core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php
StorageCopyTraitTest::generateRandomData in core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php
Generate random data in a config storage.
UnitTestCase::randomMachineName in core/tests/Drupal/Tests/UnitTestCase.php
Generates a unique random string containing letters and numbers.