@Test
public void tryToGetInstanceWithNullConfig() {

    assertThatExceptionOfType(DittoConfigError.class)
            .isThrownBy(() -> MongoDbUriSupplier.of(null))
            .withCause(new NullPointerException("The MongoDB Config must not be null!"));
}