@Test
public void deleteAclEntryFromAdaptable() {

    final DeleteAclEntry expected = DeleteAclEntry.of(TestConstants.THING_ID, TestConstants.AUTHORIZATION_SUBJECT,
            TestConstants.DITTO_HEADERS_V_1);
    final TopicPath topicPath = topicPath(TopicPath.Action.DELETE);
    final JsonPointer path = JsonPointer.of("/acl/" + TestConstants.AUTHORIZATION_SUBJECT.getId());
    final Adaptable adaptable = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path).build())
            .withHeaders(TestConstants.HEADERS_V_1)
            .build();
    final ThingModifyCommand<?> actual = underTest.fromAdaptable(adaptable);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}