BusinessCentralDMODataManagementStrategy extends AbstractDMODataManagementStrategy { @Override protected List<String> getFactTypes() { return Arrays.asList(oracle.getFactTypes()); } BusinessCentralDMODataManagementStrategy(final AsyncPackageDataModelOracleFactory oracleFactory); @Override void manageScenarioSimulationModelContent(ObservablePath currentPath, ScenarioSimulationModelContent toManage); @Override boolean isADataType(String value); AsyncPackageDataModelOracle getOracle();  }
@Test public void isADataTypeOracleNotNull() { when(oracleMock.getFactTypes()).thenReturn(new String[]{}); commonIsADataType("TEST", false); when(oracleMock.getFactTypes()).thenReturn(new String[]{"TEST"}); commonIsADataType("TOAST", false); commonIsADataType("TEST", true); }