@Test public void getFactTypes() { String[] array = {"Test"}; when(oracleMock.getFactTypes()).thenReturn(array); List<String> facts = kogitoDMODataManagementStrategySpy.getFactTypes(); assertTrue(facts.size() == 1); assertEquals("Test", facts.get(0)); }
@Override protected List<String> getFactTypes() { return Arrays.asList(kogitoOracle.getFactTypes()); }
KogitoDMODataManagementStrategy extends AbstractDMODataManagementStrategy { @Override protected List<String> getFactTypes() { return Arrays.asList(kogitoOracle.getFactTypes()); } }
KogitoDMODataManagementStrategy extends AbstractDMODataManagementStrategy { @Override protected List<String> getFactTypes() { return Arrays.asList(kogitoOracle.getFactTypes()); } KogitoDMODataManagementStrategy(KogitoAsyncPackageDataModelOracle kogitoOracle); }
KogitoDMODataManagementStrategy extends AbstractDMODataManagementStrategy { @Override protected List<String> getFactTypes() { return Arrays.asList(kogitoOracle.getFactTypes()); } KogitoDMODataManagementStrategy(KogitoAsyncPackageDataModelOracle kogitoOracle); @Override void manageScenarioSimulationModelContent(ObservablePath currentPath, ScenarioSimulationModelContent toManage); @Override boolean isADataType(String value); }
KogitoDMODataManagementStrategy extends AbstractDMODataManagementStrategy { @Override protected List<String> getFactTypes() { return Arrays.asList(kogitoOracle.getFactTypes()); } KogitoDMODataManagementStrategy(KogitoAsyncPackageDataModelOracle kogitoOracle); @Override void manageScenarioSimulationModelContent(ObservablePath currentPath, ScenarioSimulationModelContent toManage); @Override boolean isADataType(String value);  }