@Test
public void mapToBinaryMessagePerDefault() {

    final Map<String, String> headers = Map.of(
            "ditto-message-subject", "hello/world",
            "ditto-message-thing-id", "thing:id"
    );
    final ByteBuffer payload = ByteBuffer.wrap(new byte[]{1, 2, 3, 4, 5, 6});
    final List<Adaptable> adaptables =
            underTest.map(ExternalMessageFactory.newExternalMessageBuilder(headers)
                    .withBytes(payload.array())
                    .build());
    assertThat(adaptables).hasSize(1);
    assertThat(adaptables.get(0).getPayload().getValue()).contains(JsonValue.of("AQIDBAUG"));
    final Signal<?> signal = ADAPTER.fromAdaptable(adaptables.get(0));
    assertThat(signal).isInstanceOf(SendThingMessage.class);
    final SendThingMessage<?> sendThingMessage = (SendThingMessage<?>) signal;
    assertThat(sendThingMessage.getEntityId().toString()).isEqualTo("thing:id");
    assertThat(sendThingMessage.getMessage().getRawPayload().orElseThrow()).isEqualTo(payload);
}