@Test
public void copyAndAlterExistingDittoRuntimeException() {

    final DittoHeaders dittoHeadersMock = mock(DittoHeaders.class);
    final DittoRuntimeException withOtherDittoHeaders =
            DittoRuntimeException.newBuilder(KNOWN_DITTO_RUNTIME_EXCEPTION) //
                    .dittoHeaders(dittoHeadersMock) //
            .build();
    DittoBaseAssertions.assertThat(withOtherDittoHeaders) //
            .hasErrorCode(KNOWN_ERROR_CODE) //
            .hasStatusCode(KNOWN_STATUS_CODE) //
            .hasDittoHeaders(dittoHeadersMock) //
            .hasDescription(KNOWN_DESCRIPTION) //
            .hasMessage(KNOWN_MESSAGE) //
            .hasCause(KNOWN_CAUSE) //
            .hasNoHref();
}