@Test
public void thingModifiedFromAdaptable() {

    final ThingModified expected =
            ThingModified.of(TestConstants.THING, TestConstants.REVISION,
                    setChannelHeader(TestConstants.DITTO_HEADERS_V_2));
    final JsonPointer path = JsonPointer.empty();
    final Adaptable adaptable = Adaptable.newBuilder(topicPathModified())
            .withPayload(Payload.newBuilder(path)
                    .withValue(TestConstants.THING.toJson(FieldType.notHidden()))
                    .withRevision(TestConstants.REVISION)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final ThingEvent<?> actual = underTest.fromAdaptable(adaptable);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}