@Test
public void featurePropertyCreatedToAdaptable() {

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