testSelectionIsClearedWhenSelectedItemIsRemoved() {
    select.render(sandboxEl);
    const item1 = new MenuItem('item 1');
    select.addItem(item1);
    select.addItem(new MenuItem('item 2'));

    select.setSelectedItem(item1);
    select.removeItem(item1);
    assertNull(select.getSelectedItem());
  }
Checks that the current selection is cleared when the selected item is
removed.