@Test
public void deleteDefinitionToAdaptable() {

    final TopicPath topicPath = topicPath(TopicPath.Action.DELETE);
    final JsonPointer path = JsonPointer.of("/definition");
    final Adaptable expected = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final DeleteThingDefinition deleteDefinition =
            DeleteThingDefinition.of(TestConstants.THING_ID, TestConstants.HEADERS_V_2_NO_CONTENT_TYPE);
    final Adaptable actual = underTest.toAdaptable(deleteDefinition, channel);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}