@Test
public void aclEntryCreatedToAdaptable() {

    final JsonPointer path = JsonPointer.of("/acl/" + TestConstants.AUTHORIZATION_SUBJECT.getId());
    final Adaptable expected = Adaptable.newBuilder(topicPathCreated())
            .withPayload(Payload.newBuilder(path)
                    .withValue(TestConstants.ACL_ENTRY.toJson())
                    .withRevision(TestConstants.REVISION)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_1)
            .build();
    final AclEntryCreated aclEntryCreated = AclEntryCreated.of(TestConstants.THING_ID, TestConstants.ACL_ENTRY,
            TestConstants.REVISION, setChannelHeader(TestConstants.HEADERS_V_1_NO_CONTENT_TYPE));
    final Adaptable actual = underTest.toAdaptable(aclEntryCreated, channel);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}