@Test
public void toJsonReturnsExpected() {

    final DittoHeaders dittoHeaders = DittoHeaders.newBuilder().correlationId(KNOWN_CORRELATION_ID).build();
    final AcknowledgementRequestTimeoutException underTest =
            AcknowledgementRequestTimeoutException.newBuilder(KNOWN_TIMEOUT)
                    .dittoHeaders(dittoHeaders)
                    .build();
    final JsonObject actual = underTest.toJson();
    assertThat(actual).isEqualTo(KNOWN_JSON_REPRESENTATION);
}