@Test public void throwExceptionIfSessionDictionaryIsNotFound() throws Exception { DefaultDataDictionaryProvider provider = new DefaultDataDictionaryProvider(); try { provider.getSessionDataDictionary("FIX44_Invalid_Test"); } catch (QFJException e) { assertThat(e.getCause(), is(ConfigError.class)); } }
public DataDictionary getSessionDataDictionary(String beginString) { return transportDictionaries.computeIfAbsent(beginString); }
DefaultDataDictionaryProvider implements DataDictionaryProvider { public DataDictionary getSessionDataDictionary(String beginString) { return transportDictionaries.computeIfAbsent(beginString); } }
DefaultDataDictionaryProvider implements DataDictionaryProvider { public DataDictionary getSessionDataDictionary(String beginString) { return transportDictionaries.computeIfAbsent(beginString); } DefaultDataDictionaryProvider();  DefaultDataDictionaryProvider(boolean findDataDictionaries); }
DefaultDataDictionaryProvider implements DataDictionaryProvider { public DataDictionary getSessionDataDictionary(String beginString) { return transportDictionaries.computeIfAbsent(beginString); } 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 getSessionDataDictionary(String beginString) { return transportDictionaries.computeIfAbsent(beginString); } DefaultDataDictionaryProvider();  DefaultDataDictionaryProvider(boolean findDataDictionaries); DataDictionary getSessionDataDictionary(String beginString); DataDictionary getApplicationDataDictionary(ApplVerID applVerID); void addTransportDictionary(String beginString, DataDictionary dd); void addApplicationDictionary(ApplVerID applVerID, DataDictionary dataDictionary);  }