@Test
public void thingCreatedToAdaptable() {

    final JsonPointer path = JsonPointer.empty();
    final Instant now = Instant.now();
    final Adaptable expected = Adaptable.newBuilder(topicPathCreated())
            .withPayload(Payload.newBuilder(path)
                    .withValue(TestConstants.THING.toJson(FieldType.notHidden()))
                    .withRevision(TestConstants.REVISION)
                    .withTimestamp(now)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final ThingCreated thingCreated =
            ThingCreated.of(TestConstants.THING, TestConstants.REVISION, now,
                    setChannelHeader(TestConstants.HEADERS_V_2_NO_CONTENT_TYPE));
    final Adaptable actual = underTest.toAdaptable(thingCreated, channel);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}