protected function ReadonlyStorageTest::randomArray in Config Filter 8.2
Same name and namespace in other branches
- 8 src/Tests/ReadonlyStorageTest.php \Drupal\config_filter\Tests\ReadonlyStorageTest::randomArray()
Get a random array.
Return value
array A random array used for data testing.
2 calls to ReadonlyStorageTest::randomArray()
- ReadonlyStorageTest::readMethodsProvider in src/
Tests/ ReadonlyStorageTest.php - Provide the methods that should continue to work.
- ReadonlyStorageTest::writeMethodsProvider in src/
Tests/ ReadonlyStorageTest.php - Provide the methods that should throw an exception.
File
- src/
Tests/ ReadonlyStorageTest.php, line 134
Class
- ReadonlyStorageTest
- Tests ReadonlyStorage operations.
Namespace
Drupal\config_filter\TestsCode
protected function randomArray() {
return (array) $this
->getRandomGenerator()
->object();
}