protected function LayoutBuilderRoutesTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 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() {
parent::setUp();
$this->sectionStorageManager = $this
->prophesize(SectionStorageManagerInterface::class);
$this->routeBuilder = new LayoutBuilderRoutes($this->sectionStorageManager
->reveal());
}