@Test
public void testSimpleConstructor() throws Exception {

    provider = new DynamicAcceptorSessionProvider(settings, new SessionID("FIX.4.2", "ANY",
            "ANY"), application, messageStoreFactory, logFactory, messageFactory);
    // Should actually throw an exception if it fails (see previous test)
    try (Session session = provider.getSession(new SessionID("FIX.4.2", "S", "T"), null)) {
        assertNotNull(session);
    }
}