@Test
public void featureModifiedFromAdaptable() {

    final FeatureModified expected = FeatureModified.of(TestConstants.THING_ID, TestConstants.FEATURE,
            TestConstants.REVISION, setChannelHeader(TestConstants.DITTO_HEADERS_V_2));
    final JsonPointer path = JsonPointer.of("/features/" + TestConstants.FEATURE_ID);
    final Adaptable adaptable = Adaptable.newBuilder(topicPathModified())
            .withPayload(Payload.newBuilder(path)
                    .withValue(TestConstants.FEATURE.toJson(FieldType.notHidden()))
                    .withRevision(TestConstants.REVISION)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final ThingEvent<?> actual = underTest.fromAdaptable(adaptable);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}