@Test
public void modifyAttributesToAdaptable() {

    final TopicPath topicPath = topicPath(TopicPath.Action.MODIFY);
    final JsonPointer path = JsonPointer.of("/attributes");
    final Adaptable expected = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path)
                    .withValue(TestConstants.ATTRIBUTES.toJson(FieldType.regularOrSpecial()))
                    .build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final ModifyAttributes modifyAttributes =
            ModifyAttributes.of(TestConstants.THING_ID, TestConstants.ATTRIBUTES,
                    TestConstants.HEADERS_V_2_NO_CONTENT_TYPE);
    final Adaptable actual = underTest.toAdaptable(modifyAttributes, channel);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}