use of org.apereo.cas.ticket.registry.TicketRegistrySupport in project cas by apereo.
the class VerifyRequiredServiceActionTests method onSetUp.
@BeforeEach
public void onSetUp() {
this.ticketRegistrySupport = mock(TicketRegistrySupport.class);
this.verifyRequiredServiceAction = new VerifyRequiredServiceAction(getServicesManager(), getTicketGrantingTicketCookieGenerator(), casProperties, ticketRegistrySupport);
val response = new MockHttpServletResponse();
this.requestContext = new MockRequestContext();
this.httpRequest = new MockHttpServletRequest();
this.requestContext.setExternalContext(new ServletExternalContext(new MockServletContext(), this.httpRequest, response));
}
Aggregations