@Test
public void featurePropertiesCreatedFromAdaptable() {

    final FeaturePropertiesCreated expected =
            FeaturePropertiesCreated.of(TestConstants.THING_ID, TestConstants.FEATURE_ID,
                    TestConstants.FEATURE_PROPERTIES, TestConstants.REVISION,
                    setChannelHeader(TestConstants.DITTO_HEADERS_V_2));
    final JsonPointer path = JsonPointer.of("/features/" + TestConstants.FEATURE_ID + "/properties");
    final Adaptable adaptable = Adaptable.newBuilder(topicPathCreated())
            .withPayload(Payload.newBuilder(path)
                    .withValue(TestConstants.FEATURE_PROPERTIES_JSON)
                    .withRevision(TestConstants.REVISION)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final ThingEvent<?> actual = underTest.fromAdaptable(adaptable);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}