@BeforeEach
    void initialize() {
        this.ticketStatusResource = new TicketStatusResource(ticketRegistry);

        this.mockMvc = MockMvcBuilders.standaloneSetup(this.ticketStatusResource)
            .defaultRequest(get("/")
                .contextPath("/cas")
                .contentType(MediaType.APPLICATION_FORM_URLENCODED))
            .build();
    }
This is {@link TicketStatusResourceTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-rest/src/test/java/org/apereo/cas/support/rest/TicketStatusResourceTests.java