@Test
public void modifyFeaturesToAdaptable() {

    final TopicPath topicPath = topicPath(TopicPath.Action.MODIFY);
    final JsonPointer path = JsonPointer.of("/features");
    final Adaptable expected = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path)
                    .withValue(TestConstants.FEATURES.toJson(FieldType.regularOrSpecial()))
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final ModifyFeatures modifyFeatures =
            ModifyFeatures.of(TestConstants.THING_ID, TestConstants.FEATURES,
                    TestConstants.HEADERS_V_2_NO_CONTENT_TYPE);
    final Adaptable actual = underTest.toAdaptable(modifyFeatures, channel);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}