@Override
                public Stream<CasEventAggregate> aggregate(final Class type, final Duration start) {
                    val now = LocalDateTime.now(Clock.systemUTC());
                    return Stream.of(
                        new CasEventAggregate(now, "type1", 1L, "CAS"),
                        new CasEventAggregate(now, "type2", 1L, "CAS"),
                        new CasEventAggregate(now, "type3", 1L, "Shire"),
                        new CasEventAggregate(now, "type4", 1L, "Shire"));
                }
This is {@link CasEventsReportEndpointTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-events/src/test/java/org/apereo/cas/support/events/CasEventsReportEndpointTests.java