@Test
public void getInstanceWithNullLoggerName() {

    assertThatNullPointerException()
            .isThrownBy(() -> DefaultDittoDiagnosticLoggingAdapter.of(plainLoggingAdapter, null))
            .withMessage("The loggerName must not be null!")
            .withNoCause();
}