@Test
@SuppressWarnings("unchecked")
public void getEnumLookupsWithFixedListDefinition() {

    final DependentEnumsUtilities.Context context = mock(DependentEnumsUtilities.Context.class);
    final Callback<Map<String, String>> callback = mock(Callback.class);
    final DropDownData dd = DropDownData.create(new String[]{"one", "two"});
    when(oracle.getEnums(eq("FactType"),
                         eq("field"),
                         any(Map.class))).thenReturn(dd);
    dtPresenter.getEnumLookups("FactType",
                               "field",
                               context,
                               callback);
    verify(callback,
           times(1)).callback(callbackValueCaptor.capture());
    final Map<String, String> callbackValue = callbackValueCaptor.getValue();
    assertNotNull(callbackValue);
    assertFalse(callbackValue.isEmpty());
    assertTrue(callbackValue.containsKey("one"));
    assertTrue(callbackValue.containsKey("two"));
}