function RecipeConfigStorageWrapperTest::testNotExists
Same name and namespace in other branches
- 10 core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php \Drupal\Tests\Core\Recipe\RecipeConfigStorageWrapperTest::testNotExists()
Validate FALSE when neither storage contains a key.
File
-
core/
tests/ Drupal/ Tests/ Core/ Recipe/ RecipeConfigStorageWrapperTest.php, line 93
Class
- RecipeConfigStorageWrapperTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Recipe%21RecipeConfigStorageWrapper.php/class/RecipeConfigStorageWrapper/11.x" title="Merges two storages together." class="local">\Drupal\Core\Recipe\RecipeConfigStorageWrapper</a> @group Recipe
Namespace
Drupal\Tests\Core\RecipeCode
public function testNotExists() : void {
[
$a,
$b,
] = $this->generateStorages(FALSE);
$storage = new RecipeConfigStorageWrapper($a, $b);
$this->assertFalse($storage->exists('a_key'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.