@Test
public void doForwardMappingContextWithWrongThingIdMapping() {

    final Map<String, JsonValue> props =
            Map.of(MAPPING_OPTIONS_PROPERTIES_THING_ID, JsonValue.of("{{ header:device_id }}"));
    final MessageMapperConfiguration thingIdWithPlaceholder
            = DefaultMessageMapperConfiguration.of("placeholder", props, validConditions, validConditions);
    underTest.configure(mappingConfig, thingIdWithPlaceholder);
    final Map<String, String> invalidHeader = validHeader;
    invalidHeader.replace(HEADER_HONO_DEVICE_ID, "Invalid Value");
    final ExternalMessage externalMessage = ExternalMessageFactory.newExternalMessageBuilder(validHeader).build();
    final List<Adaptable> mappingResult = underTest.map(externalMessage);
    assertThat(mappingResult).isEmpty();
}