@Test
    void verifyDirect() throws Throwable {
        val tgt = new MockTicketGrantingTicket("casuser");
        tgt.setProxiedBy(CoreAuthenticationTestUtils.getWebApplicationService());
        ticketRegistry.addTicket(tgt);
        var results = singleSignOnSessionsEndpoint.getSsoSessions(new SingleSignOnSessionsEndpoint.SsoSessionsRequest()
            .withType(SingleSignOnSessionsEndpoint.SsoSessionReportOptions.DIRECT.getType()));
        assertFalse(results.isEmpty());
        results = singleSignOnSessionsEndpoint.getSsoSessions(new SingleSignOnSessionsEndpoint.SsoSessionsRequest()
            .withType(SingleSignOnSessionsEndpoint.SsoSessionReportOptions.ALL.getType()));
        assertFalse(results.isEmpty());
    }
This is {@link SingleSignOnSessionsEndpointTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-reports/src/test/java/org/apereo/cas/web/report/SingleSignOnSessionsEndpointTests.java