function RecipeConfigStorageWrapperTest::testRightSideExists

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php \Drupal\Tests\Core\Recipe\RecipeConfigStorageWrapperTest::testRightSideExists()

Validate that we fall back to the second storage.

File

core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php, line 83

Class

RecipeConfigStorageWrapperTest
@coversDefaultClass \Drupal\Core\Recipe\RecipeConfigStorageWrapper @group Recipe

Namespace

Drupal\Tests\Core\Recipe

Code

public function testRightSideExists() : void {
    [
        $a,
        $b,
    ] = $this->generateStorages(TRUE);
    $storage = new RecipeConfigStorageWrapper($a, $b);
    $storage->exists('a_key');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.