@Test
public void toJsonReturnsExpected() {

    final DittoHeaders dittoHeaders = DittoHeaders.newBuilder().correlationId(testName.getMethodName()).build();
    final AcknowledgementCorrelationIdMissingException underTest =
            AcknowledgementCorrelationIdMissingException.newBuilder().dittoHeaders(dittoHeaders).build();
    final JsonObject actual = underTest.toJson();
    assertThat(actual).isEqualTo(KNOWN_JSON_REPRESENTATION);
}