@Test
    void verifyServiceTicketAsDefault() throws Throwable {
        val result = CoreAuthenticationTestUtils.getAuthenticationResult(authenticationSystemSupport);
        val tgt = centralAuthenticationService.createTicketGrantingTicket(result);
        val service = RegisteredServiceTestUtils.getService("test");
        val response = serviceTicketResourceEntityResponseFactory.build(tgt.getId(), service, result);
        assertNotNull(response);
        assertEquals(HttpStatus.OK, response.getStatusCode());
    }
This is {@link JwtServiceTicketResourceEntityResponseFactoryTests}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-rest-tokens/src/test/java/org/apereo/cas/tokens/JwtServiceTicketResourceEntityResponseFactoryTests.java