@Test
public void deleteFeatureFromAdaptable() {

    final DeleteFeature expected =
            DeleteFeature.of(TestConstants.THING_ID, TestConstants.FEATURE_ID, TestConstants.DITTO_HEADERS_V_2);
    final TopicPath topicPath = topicPath(TopicPath.Action.DELETE);
    final JsonPointer path = JsonPointer.of("/features/" + TestConstants.FEATURE_ID);
    final Adaptable adaptable = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final ThingModifyCommand<?> actual = underTest.fromAdaptable(adaptable);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}