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