AbstractDMNDataManagementStrategy extends AbstractDataManagementStrategy { @Override public boolean isADataType(String value) { return factModelTreeHolder.factModelTuple.getHiddenFacts().keySet().contains(value) || factModelTreeHolder.factModelTuple.getVisibleFacts().keySet().contains(value); } AbstractDMNDataManagementStrategy(EventBus eventBus); @Override void populateTestTools(final TestToolsView.Presenter testToolsPresenter,
                                  final ScenarioSimulationContext context, final GridWidget gridWidget); @Override void manageScenarioSimulationModelContent(ObservablePath currentPath, ScenarioSimulationModelContent toManage); @Override boolean isADataType(String value); RemoteCallback<FactModelTuple> getSuccessCallback(final TestToolsView.Presenter testToolsPresenter,
                                                             final ScenarioSimulationContext context,
                                                             final GridWidget gridWidget); void getSuccessCallbackMethod(final FactModelTuple factModelTuple,
                                         final TestToolsView.Presenter testToolsPresenter,
                                         final ScenarioSimulationContext context,
                                         final GridWidget gridWidget);  }
@Test public void isADataType() { visibleFactsLocal.clear(); hiddenFactsLocal.clear(); commonIsADataType("TEST", false); visibleFactsLocal.put("TEST", new FactModelTree()); commonIsADataType("TOAST", false); commonIsADataType("TEST", true); visibleFactsLocal.clear(); hiddenFactsLocal.put("TEST", new FactModelTree()); commonIsADataType("TOAST", false); commonIsADataType("TEST", true); }