@Test
public void getInstanceWithBlankLoggerName() {

    assertThatIllegalArgumentException()
            .isThrownBy(() -> DefaultDiagnosticLoggingAdapter.of(plainLoggingAdapter, ""))
            .withMessage("The argument 'loggerName' must not be empty!")
            .withNoCause();
}