@Test
public void fromConfigFailsWithEmptyConfig() {

    assertThatExceptionOfType(ConfigException.Missing.class).isThrownBy(() ->
            MongoEventSourceSettings.fromConfig(ConfigFactory.empty(), PERSISTENCE_ID_PREFIX, SUPPORTS_NAMESPACES,
                    JOURNAL_PLUGIN_ID, SNAPSHOT_PLUGIN_ID));
}