11 calls to MenuLinkMock::create()
- DefaultMenuLinkTreeManipulatorsTest::mockTree in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php  - Creates a mock tree.
 - DefaultMenuLinkTreeManipulatorsTest::testCheckNodeAccess in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php  - Tests the optimized node access checking.
 - 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.
 - MenuLinkTreeTest::testUserLoginAndUserLogoutLinks in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuLinkTreeTest.php  - Tests user/login and user/logout links.
 - NavigationMenuBlockTest::setUp in core/
modules/ navigation/ tests/ src/ Kernel/ NavigationMenuBlockTest.php  - NavigationMenuMarkupTest::setUp in core/
modules/ navigation/ tests/ src/ Kernel/ NavigationMenuMarkupTest.php  - SystemMenuBlockTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ Block/ SystemMenuBlockTest.php  
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.