private MockRequestContext getMockRequestContext() throws Throwable {
        val context = MockRequestContext.create(applicationContext);
        context.setCurrentEvent(new EventFactorySupport().success(this));
        return context;
    }
This is {@link RedirectUnauthorizedServiceUrlActionTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-actions/src/test/java/org/apereo/cas/web/flow/RedirectUnauthorizedServiceUrlActionTests.java