function RecipeConfigStorageWrapperTest::testGetCollection
Test the collection name is stored properly.
File
- 
              core/tests/ Drupal/ Tests/ Core/ Recipe/ RecipeConfigStorageWrapperTest.php, line 280 
Class
- RecipeConfigStorageWrapperTest
- @coversDefaultClass \Drupal\Core\Recipe\RecipeConfigStorageWrapper[[api-linebreak]] @group Recipe
Namespace
Drupal\Tests\Core\RecipeCode
public function testGetCollection() : void {
  $a = $this->createMock(StorageInterface::class);
  $b = $this->createMock(StorageInterface::class);
  $storage = new RecipeConfigStorageWrapper($a, $b, 'collection');
  $this->assertEquals('collection', $storage->getCollectionName());
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
