public function TestBaseTest::providerRandomItems in Drupal 8
Provides data for testRandomString() and others.
Return value
array
- The number of items (characters, object properties) we expect any of the random functions to give us.
File
- core/
modules/ simpletest/ tests/ src/ Unit/ TestBaseTest.php, line 95
Class
- TestBaseTest
- @requires extension curl @coversDefaultClass \Drupal\simpletest\TestBase @group simpletest @group TestBase
Namespace
Drupal\Tests\simpletest\UnitCode
public function providerRandomItems() {
return [
[
NULL,
],
[
0,
],
[
1,
],
[
2,
],
[
3,
],
[
4,
],
[
7,
],
];
}