public function assertMenuStructureForContent($menu_name, TableNode $table) {
    $menu_items = $table->getColumnsHash();
    foreach ($menu_items as $key => $menu_item) {
      $node = $this->getCore()->loadNodeByName($menu_item['title']);
      $menu_items[$key]['uri'] = "entity:node/{$this->getCore()->getNodeId($node)}";
    }

    try {
      $this->menuLinks = array_merge($this->menuLinks, $this->getCore()->createMenuStructure($menu_name, $menu_items));
    }
    catch (\InvalidArgumentException $e) {
      throw new ExpectationException($e->getMessage(), $this->getSession());
    }
  }