@Override
            public void execute() {
                val event = new CasRegisteredServiceExpiredEvent(this, registeredService, false, clientInfo);
                registeredServicesEventListener.handleRegisteredServiceExpiredEvent(event);
            }
This is {@link RegisteredServicesEventListenerTests}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/RegisteredServicesEventListenerTests.java