@Test
void testAfterAttempt() {

    final Realm otherRealm = new IniRealm();
    this.authStrategy.afterAttempt(otherRealm, null, null, null, new RuntimeException());
    final AuthenticationInProgressException authInProgressException = new AuthenticationInProgressException();
    this.authStrategy.afterAttempt(otherRealm, null, null, null, authInProgressException);
    final Throwable exception = Assertions.assertThrows(AuthenticationInProgressException.class, () -> {
        this.authStrategy.afterAttempt(new NegotiateAuthenticationRealm(), null, null, null,
                authInProgressException);
    });
    Assertions.assertNull(exception.getMessage());
}