@Test
    void verifyOperationEnroll() throws Throwable {
        val context = verifyOperation(enrollProvider, CasWebflowConstants.TRANSITION_ID_ENROLL);
        val url = context.getFlowScope().get("duoRegistrationUrl", String.class);
        assertNotNull(url);
        assertTrue("principal".equalsIgnoreCase(new URIBuilder(url).getQueryParams().getFirst().getName()));
    }
This is {@link DuoSecurityDetermineUserAccountActionTests}.

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