@Test
public void getInstanceWithNullLogger() {

    assertThatNullPointerException()
            .isThrownBy(() -> DefaultDiagnosticLoggingAdapter.of(null, LOGGER_NAME))
            .withMessage("The loggingAdapter must not be null!")
            .withNoCause();
}