@Test
public void tryToGetInstanceWithConfigWithoutUriPath() {

    assertThatExceptionOfType(DittoConfigError.class)
            .isThrownBy(() -> MongoDbUriSupplier.of(ConfigFactory.empty()))
            .withMessage("MongoDB Config did not have path <%s>!", KEY_URI)
            .withNoCause();
}