@Test
public void toJsonReturnsExpected() {

    final ThingErrorResponse underTest =
            ThingErrorResponse.of(TestConstants.Thing.THING_ID, TestConstants.Thing.THING_NOT_ACCESSIBLE_EXCEPTION,
                    TestConstants.EMPTY_DITTO_HEADERS);
    final JsonObject actualJsonCreated = underTest.toJson(FieldType.regularOrSpecial());
    assertThat(actualJsonCreated).isEqualTo(KNOWN_JSON);
}