@Test
public void featurePropertiesCreatedToAdaptable() {

    final JsonPointer path = JsonPointer.of("/features/" + TestConstants.FEATURE_ID + "/properties");
    final Adaptable expected = Adaptable.newBuilder(topicPathCreated())
            .withPayload(Payload.newBuilder(path)
                    .withValue(TestConstants.FEATURE_PROPERTIES_JSON)
                    .withRevision(TestConstants.REVISION)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final FeaturePropertiesCreated featurePropertiesCreated =
            FeaturePropertiesCreated.of(TestConstants.THING_ID, TestConstants.FEATURE_ID,
                    TestConstants.FEATURE_PROPERTIES,
                    TestConstants.REVISION, setChannelHeader(TestConstants.HEADERS_V_2_NO_CONTENT_TYPE));
    final Adaptable actual = underTest.toAdaptable(featurePropertiesCreated, channel);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}