function MenuExampleTest::setUp

Same name in other branches
  1. 3.x modules/menu_example/tests/src/Functional/MenuExampleTest.php \Drupal\Tests\menu_example\Functional\MenuExampleTest::setUp()
  2. 4.0.x modules/menu_example/tests/src/Functional/MenuExampleTest.php \Drupal\Tests\menu_example\Functional\MenuExampleTest::setUp()

File

menu_example/tests/src/Functional/MenuExampleTest.php, line 42

Class

MenuExampleTest
Test the functionality for the menu Example.

Namespace

Drupal\Tests\menu_example\Functional

Code

protected function setUp() {
    // Always call the parent setUp().
    parent::setUp();
    // Add the main menu block, as provided by the Block module.
    $this->placeBlock('system_menu_block:main');
}