@Test
public void getFailedInstanceWithNullDittoHeaders() {

    assertThatNullPointerException()
            .isThrownBy(() -> DefaultAuthenticationResult.failed(null, reasonOfFailure))
            .withMessage("The dittoHeaders must not be null!")
            .withNoCause();
}