function setUpWithDragListPermission(dragListPermission) {
  dlg.dispose();
  const sandbox = dom.getElement('sandbox');
  dom.removeChildren(sandbox);

  list = dom.createDom(TagName.DIV, {'id': 'horiz_div'});
  list.appendChild(dom.createDom(TagName.DIV, null, dom.createTextNode('1')));
  list.appendChild(dom.createDom(TagName.DIV, null, dom.createTextNode('2')));
  list.appendChild(dom.createDom(TagName.DIV, null, dom.createTextNode('3')));
  sandbox.appendChild(list);

  list2 = dom.createDom(TagName.DIV, {'id': 'horiz_div2'});
  list2.appendChild(dom.createDom(TagName.DIV, null, dom.createTextNode('A')));
  list2.appendChild(dom.createDom(TagName.DIV, null, dom.createTextNode('B')));
  list2.appendChild(dom.createDom(TagName.DIV, null, dom.createTextNode('C')));
  sandbox.appendChild(list2);

  dlg = new DragListGroup();
  dlg.addDragList(
      list, DragListDirection.RIGHT, null /** opt_unused */, 'test_hover_class',
      dragListPermission);
  dlg.addDragList(list2, DragListDirection.RIGHT);
  dlg.init();

  /** @suppress {visibility} suppression added to enable type checking */
  initialListenerCount = googObject.getCount(dlg.eventHandler_.keys_);

  event = new BrowserEvent();
  event.currentTarget = dom.getElementsByTagName(TagName.DIV, list)[0];

  firedEventTypes = [];
  events.listen(dlg, googObject.getValues(DragListGroup.EventType), (e) => {
    firedEventTypes.push(e.type);
  });
}
@param {!DragListPermission} dragListPermission
@suppress {checkTypes} suppression added to enable type checking