public function StorageFactoryTest::providerGet in Radioactivity 4.0.x
Same name and namespace in other branches
- 8.3 tests/src/Unit/StorageFactoryTest.php \Drupal\Tests\radioactivity\Unit\StorageFactoryTest::providerGet()
Data provider for testGet.
Return value
array Storage type, storage class.
File
- tests/
src/ Unit/ StorageFactoryTest.php, line 106
Class
- StorageFactoryTest
- @coversDefaultClass \Drupal\radioactivity\StorageFactory @group radioactivity
Namespace
Drupal\Tests\radioactivity\UnitCode
public function providerGet() {
return [
[
'rest_local',
RestIncidentStorage::class,
],
[
'rest_remote',
RestIncidentStorage::class,
],
[
'default',
DefaultIncidentStorage::class,
],
[
'unknown_type',
DefaultIncidentStorage::class,
],
];
}