KogitoDMODataManagementStrategy extends AbstractDMODataManagementStrategy { @Override public void manageScenarioSimulationModelContent(ObservablePath currentPath, ScenarioSimulationModelContent toManage) { model = toManage.getModel(); kogitoOracle.init(currentPath); } KogitoDMODataManagementStrategy(KogitoAsyncPackageDataModelOracle kogitoOracle); @Override void manageScenarioSimulationModelContent(ObservablePath currentPath, ScenarioSimulationModelContent toManage); @Override boolean isADataType(String value);  }
@Test public void manageScenarioSimulationModelContent() { kogitoDMODataManagementStrategySpy.manageScenarioSimulationModelContent(observablePathMock, scenarioSimulationModelContentMock); verify(scenarioSimulationModelContentMock, times(1)).getModel(); verify(oracleMock, times(1)).init(eq(observablePathMock)); }