@Test
    void verifyRestoreWithoutSessionTicket() throws Throwable {
        val client = new FormClient();
        val context = MockRequestContext.create(applicationContext);
        val webContext = new JEEContext(context.getHttpServletRequest(), context.getHttpServletResponse());
        val stored = contributor.restore(context, webContext, Optional.empty(), client);
        assertNull(stored);
        assertNull(PasswordlessWebflowUtils.getPasswordlessAuthenticationAccount(context, PasswordlessUserAccount.class));
    }
This is {@link PasswordlessDelegatedClientAuthenticationWebflowStateContributorTests}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-passwordless-webflow/src/test/java/org/apereo/cas/web/flow/delegation/PasswordlessDelegatedClientAuthenticationWebflowStateContributorTests.java