testPositionMenuNotInDocument() {
    const menu = new Menu();
    menu.createDom();
    menuButton.setMenu(menu);
    menuButton.positionMenu();
  }
Tests that calling positionMenu when the menu is not in the document does
not throw an exception.