@Test
        void verifyOperation() throws Throwable {
            val port = URI.create(casProperties.getAuthn().getPasswordSync().getRest().getUrl()).getPort();
            try (val webServer = new MockWebServer(port, HttpStatus.OK)) {
                webServer.start();
                authenticationManager.authenticate(CoreAuthenticationTestUtils.getAuthenticationTransactionFactory()
                    .newTransaction(CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword()));
            }
        }
This is {@link RestfulPasswordSynchronizationAuthenticationPostProcessorTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-pm-webflow/src/test/java/org/apereo/cas/pm/RestfulPasswordSynchronizationAuthenticationPostProcessorTests.java