@Test public void throwExceptionIfAppVersionIsNotFound() throws Exception { DefaultDataDictionaryProvider provider = new DefaultDataDictionaryProvider(); try { provider.getApplicationDataDictionary(new ApplVerID("999")); } catch (QFJException e) { assertThat(e.getMessage(), containsString(" 999")); } }
public DataDictionary getApplicationDataDictionary(ApplVerID applVerID) { return applicationDictionaries.computeIfAbsent(applVerID); }
DefaultDataDictionaryProvider implements DataDictionaryProvider { public DataDictionary getApplicationDataDictionary(ApplVerID applVerID) { return applicationDictionaries.computeIfAbsent(applVerID); } }
DefaultDataDictionaryProvider implements DataDictionaryProvider { public DataDictionary getApplicationDataDictionary(ApplVerID applVerID) { return applicationDictionaries.computeIfAbsent(applVerID); } DefaultDataDictionaryProvider();  DefaultDataDictionaryProvider(boolean findDataDictionaries); }
DefaultDataDictionaryProvider implements DataDictionaryProvider { public DataDictionary getApplicationDataDictionary(ApplVerID applVerID) { return applicationDictionaries.computeIfAbsent(applVerID); } DefaultDataDictionaryProvider();  DefaultDataDictionaryProvider(boolean findDataDictionaries); DataDictionary getSessionDataDictionary(String beginString); DataDictionary getApplicationDataDictionary(ApplVerID applVerID); void addTransportDictionary(String beginString, DataDictionary dd); void addApplicationDictionary(ApplVerID applVerID, DataDictionary dataDictionary); }
DefaultDataDictionaryProvider implements DataDictionaryProvider { public DataDictionary getApplicationDataDictionary(ApplVerID applVerID) { return applicationDictionaries.computeIfAbsent(applVerID); } DefaultDataDictionaryProvider();  DefaultDataDictionaryProvider(boolean findDataDictionaries); DataDictionary getSessionDataDictionary(String beginString); DataDictionary getApplicationDataDictionary(ApplVerID applVerID); void addTransportDictionary(String beginString, DataDictionary dd); void addApplicationDictionary(ApplVerID applVerID, DataDictionary dataDictionary);  }