@Test
public void buildFromCustomMessage() {

    final String customMessage = "theCustomMessage";
    final DittoHeaderInvalidException headerInvalidException =
            DittoHeaderInvalidException.newCustomMessageBuilder(customMessage)
                    .build();
    assertThat(headerInvalidException.getMessage()).isEqualTo(customMessage);
    assertThat(headerInvalidException.getDescription()).hasValue(
            "Verify that the header has the correct syntax and try again.");
}