protected function LayoutBuilderRoutesTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php \Drupal\Tests\layout_builder\Unit\LayoutBuilderRoutesTest::setUp()
- 10 core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php \Drupal\Tests\layout_builder\Unit\LayoutBuilderRoutesTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
modules/ layout_builder/ tests/ src/ Unit/ LayoutBuilderRoutesTest.php, line 39
Class
- LayoutBuilderRoutesTest
- @coversDefaultClass \Drupal\layout_builder\Routing\LayoutBuilderRoutes
Namespace
Drupal\Tests\layout_builder\UnitCode
protected function setUp() : void {
parent::setUp();
$this->sectionStorageManager = $this
->prophesize(SectionStorageManagerInterface::class);
$this->routeBuilder = new LayoutBuilderRoutes($this->sectionStorageManager
->reveal());
}