function RecipeConfigStorageWrapperTest::testNullStorage
Same name in other branches
- 11.x core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php \Drupal\Tests\Core\Recipe\RecipeConfigStorageWrapperTest::testNullStorage()
Validate that an empty set of storage backends returns null storage.
File
-
core/
tests/ Drupal/ Tests/ Core/ Recipe/ RecipeConfigStorageWrapperTest.php, line 22
Class
- RecipeConfigStorageWrapperTest
- @coversDefaultClass \Drupal\Core\Recipe\RecipeConfigStorageWrapper @group Recipe
Namespace
Drupal\Tests\Core\RecipeCode
public function testNullStorage() : void {
$this->assertInstanceOf(NullStorage::class, RecipeConfigStorageWrapper::createStorageFromArray([]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.