@Test
public void modifyAclEntryToAdaptable() {

    final TopicPath topicPath = topicPath(TopicPath.Action.MODIFY);
    final JsonPointer path = JsonPointer.of("/acl/" + TestConstants.AUTHORIZATION_SUBJECT.getId());
    final Adaptable expected = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path)
                    .withValue(TestConstants.ACL_ENTRY.toJson(FieldType.regularOrSpecial()))
                    .build())
            .withHeaders(TestConstants.HEADERS_V_1)
            .build();
    final ModifyAclEntry modifyAclEntry =
            ModifyAclEntry.of(TestConstants.THING_ID, TestConstants.ACL_ENTRY,
                    TestConstants.HEADERS_V_1_NO_CONTENT_TYPE);
    final Adaptable actual = underTest.toAdaptable(modifyAclEntry, channel);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}