@Test
public void toJsonReturnsExpected() {

    final RetrieveAttributeResponse underTest =
            RetrieveAttributeResponse.of(TestConstants.Thing.THING_ID,
                    TestConstants.Thing.LOCATION_ATTRIBUTE_POINTER,
                    TestConstants.Thing.LOCATION_ATTRIBUTE_VALUE, TestConstants.EMPTY_DITTO_HEADERS);
    final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
    assertThat(actualJson).isEqualTo(KNOWN_JSON);
}