@Test
public void testPreFixtDataDictionaryConfiguration() throws Exception {

    settings.setBool(sessionID, Session.SETTING_USE_DATA_DICTIONARY, true);
    Session session = factory.create(sessionID, settings);
    DataDictionaryProvider provider = session.getDataDictionaryProvider();
    assertThat(provider.getSessionDataDictionary(sessionID.getBeginString()),
            is(notNullValue()));
    assertThat(provider.getApplicationDataDictionary(new ApplVerID(ApplVerID.FIX42)),
            is(notNullValue()));
}