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

    item1.dispatchEvent(Component.EventType.ACTION);
    assertEquals(item1, select.getSelectedItem());
    assertEquals(item1.getCaption(), select.getCaption());

    item2.dispatchEvent(Component.EventType.ACTION);
    assertEquals(item2, select.getSelectedItem());
    assertEquals(item2.getCaption(), select.getCaption());
  }
Checks that the select control handles ACTION events from its items.