@Test
public void aclEntryDeletedFromAdaptable() {

    final AclEntryDeleted expected = AclEntryDeleted.of(TestConstants.THING_ID, TestConstants.AUTHORIZATION_SUBJECT,
            TestConstants.REVISION, setChannelHeader(TestConstants.DITTO_HEADERS_V_1));
    final JsonPointer path = JsonPointer.of("/acl/" + TestConstants.AUTHORIZATION_SUBJECT.getId());
    final Adaptable adaptable = Adaptable.newBuilder(topicPathDeleted())
            .withPayload(Payload.newBuilder(path)
                    .withRevision(TestConstants.REVISION)
                    .build())
            .withHeaders(TestConstants.HEADERS_V_1)
            .build();
    final ThingEvent<?> actual = underTest.fromAdaptable(adaptable);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}