@Test
public void modifyFeaturePropertyResponseToAdaptable() {

    final TopicPath topicPath = topicPath(TopicPath.Action.MODIFY);
    final JsonPointer path = JsonPointer.of(
            "/features/" + TestConstants.FEATURE_ID + "/properties" + TestConstants.FEATURE_PROPERTY_POINTER);
    final Adaptable expectedCreated = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path)
                    .withStatus(HttpStatusCode.CREATED)
                    .withValue(TestConstants.FEATURE_PROPERTY_VALUE)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final ModifyFeaturePropertyResponse modifyFeaturePropertyResponseCreated =
            ModifyFeaturePropertyResponse.created(TestConstants.THING_ID, TestConstants.FEATURE_ID,
                    TestConstants.FEATURE_PROPERTY_POINTER,
                    TestConstants.FEATURE_PROPERTY_VALUE, TestConstants.DITTO_HEADERS_V_2);
    final Adaptable actualCreated = underTest.toAdaptable(modifyFeaturePropertyResponseCreated, channel);
    assertWithExternalHeadersThat(actualCreated).isEqualTo(expectedCreated);
    final Adaptable expectedModified = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path)
                    .withStatus(HttpStatusCode.NO_CONTENT)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final ModifyFeaturePropertyResponse modifyFeaturePropertyResponseModified =
            ModifyFeaturePropertyResponse.modified(TestConstants.THING_ID, TestConstants.FEATURE_ID,
                    TestConstants.FEATURE_PROPERTY_POINTER,
                    TestConstants.HEADERS_V_2_NO_CONTENT_TYPE);
    final Adaptable actualModified = underTest.toAdaptable(modifyFeaturePropertyResponseModified, channel);
    assertWithExternalHeadersThat(actualModified).isEqualTo(expectedModified);
}