@Override
    public List<? extends AuditActionContext> getAuditRecords(final Map<WhereClauseFields, Object> whereClause) {
        val localDate = (LocalDateTime) whereClause.get(WhereClauseFields.DATE);
        return auditRecords
            .stream()
            .filter(audit -> audit.getWhenActionWasPerformed().isAfter(localDate))
            .collect(Collectors.toList());
    }
This is {@link MockAuditTrailManager}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-audit-api/src/test/java/org/apereo/cas/audit/spi/MockAuditTrailManager.java