@BeforeEach
    void prepTest() {
        MockTicketGrantingTicketCreatedEventProducer.createEvents(this.casEventRepository);
        HttpsURLConnection.setDefaultHostnameVerifier(CasSSLContext.disabled().getHostnameVerifier());
        HttpsURLConnection.setDefaultSSLSocketFactory(CasSSLContext.disabled().getSslContext().getSocketFactory());
    }
This is {@link BaseAuthenticationRequestRiskCalculatorTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-electrofence/src/test/java/org/apereo/cas/impl/calcs/BaseAuthenticationRequestRiskCalculatorTests.java