BusinessCentralDMNDataManagementStrategy extends AbstractDMNDataManagementStrategy { @Override protected void retrieveFactModelTuple(final TestToolsView.Presenter testToolsPresenter, final ScenarioSimulationContext context, final GridWidget gridWidget, String dmnFilePath) { dmnTypeService.call(getSuccessCallback(testToolsPresenter, context, gridWidget), getErrorCallback()) .retrieveFactModelTuple(currentPath, dmnFilePath); } BusinessCentralDMNDataManagementStrategy(Caller<DMNTypeService> dmnTypeService,
                                                    EventBus eventBus);   }
@Test public void retrieveFactModelTuple() { businessCentralDmnDataManagementStrategySpy.retrieveFactModelTuple(testToolsPresenterMock, scenarioSimulationContextLocal, GridWidget.SIMULATION, "DMN_FILE_PATH"); verify(businessCentralDmnDataManagementStrategySpy, times(1)).getSuccessCallback(eq(testToolsPresenterMock), eq(scenarioSimulationContextLocal), eq(GridWidget.SIMULATION)); verify(dmnTypeServiceMock, times(1)).retrieveFactModelTuple(eq(currentPathMock), eq("DMN_FILE_PATH")); }