@Test
public void getInstanceWithNullDiagnosticLoggingAdapterFactory() {

    assertThatNullPointerException()
            .isThrownBy(() -> ImmutableDittoLoggingAdapter.of(null))
            .withMessage("The diagnosticLoggingAdapterFactory must not be null!")
            .withNoCause();
}