@Test
public void testSetValue() {

    presenter.setValue("entry2");
    verify(liveSearchDropDown).setSelectedItem("entry2", "Entry 2");
    assertEquals(presenter.getValue(), "entry2");
    presenter.setSelectHint("- select - ");
    presenter.setValue(null);
    verify(liveSearchDropDown).setSelectedItem("- select - ", "- select - ");
    assertNull(presenter.getValue());
    reset(liveSearchDropDown);
    presenter.clear();
    presenter.setValue("entry2");
    presenter.setEntries(entries);
    verify(liveSearchDropDown).setSelectedItem("entry2", "Entry 2");
    reset(liveSearchDropDown);
    presenter.clear();
    presenter.setEntries(entries);
    verify(liveSearchDropDown, never()).setSelectedItem(anyString(), anyString());
}