@Test
public void getSuccessfulInstanceWithNullDittoHeaders() {

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