@Test
    void verifyAuditRecordsSinceDate() {
        val ctx = new AuditActionContext("casuser", "TEST", "TEST",
            "CAS",
            LocalDateTime.now(ZoneOffset.UTC).plusDays(1),
            new ClientInfo("1.2.3.4", "1.2.3.4", UUID.randomUUID().toString(), "London"));
        val mock = new MockAuditTrailManager();
        val mgr = new FilterAndDelegateAuditTrailManager(List.of(mock), List.of("TEST.*"), List.of());
        mgr.record(ctx);
        assertFalse(mock.getAuditRecords().isEmpty());
        val criteria = Map.<AuditTrailManager.WhereClauseFields, Object>of(AuditTrailManager.WhereClauseFields.DATE, LocalDateTime.now(ZoneOffset.UTC));
        assertEquals(1, mgr.getAuditRecords(criteria).size());
        assertDoesNotThrow(mgr::removeAll);
    }
This is {@link FilterAndDelegateAuditTrailManagerTests}.

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