@Bean
        public MyEndpoint myEndpoint() {
            return new MyEndpoint();
        }
This is {@link RestActuatorEndpointDiscovererTests}.

@author Misagh Moayyed
@since 7.1.0
support/cas-server-support-reports/src/test/java/org/apereo/cas/web/report/RestActuatorEndpointDiscovererTests.java