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

        assertTrue(context.getFlowScope().contains("qrCode"));
        assertTrue(context.getFlowScope().contains("qrChannel"));
        assertTrue(context.getFlowScope().contains("qrPrefix"));
    }
This is {@link QRAuthenticationGenerateCodeActionTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-qr-authentication/src/test/java/org/apereo/cas/qr/web/flow/QRAuthenticationGenerateCodeActionTests.java