@Test
    void verifyOperation() {
        val credential = CoreAuthenticationTestUtils.getCredentialsWithDifferentUsernameAndPassword(
            "casuser@apereo.org", "a8BuQH@6B7z");
        assertThrows(FailedLoginException.class, () -> oktaAuthenticationHandler.authenticate(credential, mock(Service.class)));
    }
This is {@link OktaAuthenticationStateHandlerTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-okta-authentication/src/test/java/org/apereo/cas/okta/OktaAuthenticationStateHandlerTests.java