@Test
    void verifyInvalidTicket() throws Throwable {
        val uriTemplate = "/cas" + BaseWebAuthnController.BASE_ENDPOINT_WEBAUTHN + WebAuthnQRCodeController.ENDPOINT_QR_VERIFY + "/{ticket}";
        val mv = mvc.perform(get(uriTemplate, UUID.randomUUID().toString()))
            .andExpect(status().isOk())
            .andReturn()
            .getModelAndView();
        assertFalse((Boolean) mv.getModel().get("success"));
    }
This is {@link WebAuthnQRCodeControllerMvcTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-webauthn/src/test/java/org/apereo/cas/webauthn/web/WebAuthnQRCodeControllerMvcTests.java