protected function MenuTreeStorageTest::doTestEmptyStorage in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php \Drupal\KernelTests\Core\Menu\MenuTreeStorageTest::doTestEmptyStorage()
Ensures that there are no menu links by default.
1 call to MenuTreeStorageTest::doTestEmptyStorage()
- MenuTreeStorageTest::testBasicMethods in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuTreeStorageTest.php - Tests the tree storage when no tree was built yet.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuTreeStorageTest.php, line 54
Class
- MenuTreeStorageTest
- Tests the menu tree storage.
Namespace
Drupal\KernelTests\Core\MenuCode
protected function doTestEmptyStorage() {
$this
->assertEqual(0, $this->treeStorage
->countMenuLinks());
}