@Test
public void mapToMessageWithoutHeadersOrConfig() {

    assertThatExceptionOfType(IllegalArgumentException.class).isThrownBy(() ->
            underTest.map(ExternalMessageFactory.newExternalMessageBuilder(Map.of()).build())
    );
}