@Test
public void retrieveAttributesToAdaptable() {

    final TopicPath topicPath = topicPath(TopicPath.Action.RETRIEVE);
    final JsonPointer path = JsonPointer.of("/attributes");
    final Adaptable expected = Adaptable.newBuilder(topicPath)
            .withPayload(Payload.newBuilder(path).build())
            .withHeaders(TestConstants.HEADERS_V_2)
            .build();
    final RetrieveAttributes retrieveAttributes =
            RetrieveAttributes.of(TestConstants.THING_ID, TestConstants.HEADERS_V_2_NO_CONTENT_TYPE);
    final Adaptable actual = underTest.toAdaptable(retrieveAttributes, channel);
    assertWithExternalHeadersThat(actual).isEqualTo(expected);
}