@Test
public void tryToGetInstanceWithEmptyPath() {

    assertThatIllegalArgumentException()
            .isThrownBy(() -> DefaultMetadataHeaderKey.of(JsonPointer.empty()))
            .withMessage("The path of a metadata header key must not be empty!")
            .withNoCause();
}