@Test
    void verifyOperation() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        val tgt = new TicketGrantingTicketImpl(RandomUtils.randomAlphabetic(8),
            CoreAuthenticationTestUtils.getAuthentication(), NeverExpiresExpirationPolicy.INSTANCE);
        WebUtils.putTicketGrantingTicketInScopes(context, tgt);
        getTicketRegistry().addTicket(tgt);
        context.setParameter("id", tgt.getId());
        val result = removeSessionAction.execute(context);
        assertEquals(CasWebflowConstants.TRANSITION_ID_VALIDATE, result.getId());
    }
This is {@link AccountProfileRemoveSingleSignOnSessionActionTests}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-actions/src/test/java/org/apereo/cas/web/flow/account/AccountProfileRemoveSingleSignOnSessionActionTests.java