@BeforeEach
    void setup() throws Exception {
        val errors = new LinkedHashSet<Class<? extends Throwable>>();
        errors.add(InvalidTicketException.class);
        errors.add(InvalidProxyGrantingTicketForServiceTicketException.class);
        errors.add(UnauthorizedServiceTicketValidationException.class);
        val catalog = new DefaultCasWebflowExceptionCatalog();
        catalog.registerExceptions(errors);

        this.context = MockRequestContext.create();

        this.handler = new DefaultCasWebflowAbstractTicketExceptionHandler(catalog);
    }
This is {@link DefaultCasWebflowAbstractTicketExceptionHandlerTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-webflow/src/test/java/org/apereo/cas/web/flow/authentication/DefaultCasWebflowAbstractTicketExceptionHandlerTests.java