@Test
public void buildForInvalidType() {

    final DittoHeaderInvalidException headerInvalidException =
            DittoHeaderInvalidException.newInvalidTypeBuilder("theHeaderName", "theValue", "theExpectedType")
                    .build();
    assertThat(headerInvalidException.getMessage())
            .isEqualTo("The value 'theValue' of the header 'theHeaderName' is not a valid theExpectedType.");
    assertThat(headerInvalidException.getDescription())
            .hasValue("Verify that the value of the header 'theHeaderName' is a valid 'theExpectedType' " +
                    "and try again.");
}