@Test
public void testGetDropDownData() throws Exception {

    final AsyncPackageDataModelOracle oracle = mock(AsyncPackageDataModelOracle.class);
    final String factType = "Car";
    final String factField = "color";
    final ActionFieldValue value = new ActionFieldValue() {{
        setField(factField);
    }};
    final ActionFieldValue[] values = new ActionFieldValue[0];
    final RuleModeller modeller = mock(RuleModeller.class);
    doReturn(oracle).when(modeller).getDataModelOracle();
    final EventBus eventBus = mock(EventBus.class);
    final String variableType = DataType.TYPE_STRING;
    final boolean readOnly = false;
    actionValueEditor = new ActionValueEditor(factType,
                                              value,
                                              values,
                                              modeller,
                                              eventBus,
                                              variableType,
                                              readOnly);
    // reset oracle due to calls in ActionValueEditor constructor
    reset(oracle);
    actionValueEditor.getDropDownData();
    final Map<String, String> fieldValues = new HashMap<>();
    verify(oracle).getEnums(eq(factType), eq(factField), eq(fieldValues));
}