@Test
public void getInstanceWithEmptyKey() {

    assertThatIllegalArgumentException()
            .isThrownBy(() -> DefaultMdcEntry.of("", "bar"))
            .withMessage("The argument 'key' must not be empty!")
            .withNoCause();
}