@Test
    void verifyOperation() throws Throwable {
        val context = MockRequestContext.create(applicationContext);

        WebUtils.putAuthentication(RegisteredServiceTestUtils.getAuthentication(), context);
        val result = duoMultifactorAuthenticationDeviceProviderAction.execute(context);
        assertNull(result);
        val devices = MultifactorAuthenticationWebflowUtils.getMultifactorAuthenticationRegisteredDevices(context);
        assertNotNull(devices);
        assertEquals(1, devices.size());
    }
This is {@link DuoSecurityMultifactorAccountProfileWebflowConfigurerTests}.

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