You are here

6 calls to MenuLinkMock::create() in Drupal 9

MenuActiveTrailTest::provider in core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php
Provides test data for all test methods.
MenuLinkTreeElementTest::testConstruction in core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php
Tests construction.
MenuLinkTreeElementTest::testCount in core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php
Tests count().
MenuLinkTreeTest::providerTestBuildCacheability in core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
Provides the test cases to test for ::testBuildCacheability().
MenuLinkTreeTest::testCreateLinksInMenu in core/tests/Drupal/KernelTests/Core/Menu/MenuLinkTreeTest.php
Tests creating links with an expected tree structure.
SystemMenuBlockTest::setUp in core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php