@Test
public void testEntries() {

    presenter.getDropDownEntries("", -1, itemList -> {
        assertEquals(itemList.size(), 2);
        assertEquals(itemList.get(0).getKey(), "entry1");
        assertEquals(itemList.get(1).getKey(), "entry2");
    });
}