@Test
public void toFailedAuthenticationResult() {

    final DittoRuntimeException dre =
            DittoRuntimeException.newBuilder("none", HttpStatusCode.INTERNAL_SERVER_ERROR).build();
    final AuthenticationResult authenticationResult =
            underTest.toFailedAuthenticationResult(dre, knownDittoHeaders);
    softly.assertThat(authenticationResult.getReasonOfFailure()).isEqualTo(dre);
}