@Test
public void retrieveFeatureResponseFromAdaptable() {

    final RetrieveFeatureResponse expected =
            RetrieveFeatureResponse.of(THING_ID, FEATURE_ID, TestConstants.FEATURE.toJson(), DITTO_HEADERS_V_1);
    final TopicPath topicPath = topicPath(TopicPath.Action.RETRIEVE);
    final JsonPointer path = JsonPointer.of("/features/" + FEATURE_ID);
    final Adaptable adaptable = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path)
                    .withStatus(HttpStatusCode.OK)
                    .withValue(TestConstants.FEATURE.toJson())
                    .build())
            .withHeaders(TestConstants.HEADERS_V_1)
            .build();
    final ThingQueryCommandResponse<?> actual = underTest.fromAdaptable(adaptable);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}