@Test
    void verifyOperation() throws Exception {
        val context = MockRequestContext.create(applicationContext);
        WebUtils.putAuthentication(RegisteredServiceTestUtils.getAuthentication(), context);
        val props = casProperties.getAuthn().getMfa().getDuo().getFirst();
        val port = URI.create(props.getDuoApiHost()).getPort();
        try (val webServer = new MockWebServer(true, port, new ClassPathResource("duo-adminapi-user.json"))) {
            webServer.start();
            duoMultifactorAuthenticationDeviceProviderAction.execute(context);
        }
    }
This is {@link DuoSecurityMultifactorAuthenticationDeviceProviderActionTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-duo/src/test/java/org/apereo/cas/adaptors/duo/web/flow/action/DuoSecurityMultifactorAuthenticationDeviceProviderActionTests.java