@Test
    void verifyOperation() throws Exception {
        val context = MockRequestContext.create(applicationContext);
        val credentials = RegisteredServiceTestUtils.getCredentialsWithSameUsernameAndPassword(UUID.randomUUID().toString());
        WebUtils.putCredential(context, credentials);
        assertFalse(casWebflowCredentialProvider.extract(context).isEmpty());
    }
This is {@link DefaultCasWebflowCredentialProviderTests}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-webflow/src/test/java/org/apereo/cas/web/flow/authentication/DefaultCasWebflowCredentialProviderTests.java