### Question:
ListFormComboPanel implements IsWidget, ListFormComboPanelView.Presenter { private void setSelected(T model) { selectedItemName = model.getName(); view.setSelected(model.getName()); if (model.isDefault()) { view.disableMakeDefault(); } else { view.enableMakeDefault(); } view.enableItemEditingButtons(); form.setModel(model); } ListFormComboPanel(ListFormComboPanelView view,
            Form<T> form,
            FormPopup namePopup); @Override Widget asWidget(); void setItems(Map<String, T> sessions); @Override void onSelect(String fullName); @Override void onAdd(); @Override void onRename(); void refresh(); @Override void onRemove(); @Override void onMakeDefault();  }### Answer:
@Test public void testAddNew() throws Exception { addItem("kbase1"); verify(view).addItem("kbase1"); ArgumentCaptor<HasListFormComboPanelProperties> propertiesArgumentCaptor = ArgumentCaptor.forClass(HasListFormComboPanelProperties.class); verify(form).setModel(propertiesArgumentCaptor.capture()); assertEquals("kbase1", propertiesArgumentCaptor.getValue().getName()); verify(view).enableItemEditingButtons(); verify(view).enableMakeDefault(); verify(view).setSelected("kbase1"); assertTrue(items.containsKey("kbase1")); }