@Test
    void verifySave() throws Throwable {
        getEventRepository().removeAll();

        val dto1 = getCasEvent("casuser1");
        getEventRepository().save(dto1);

        val dto2 = getCasEvent("casuser2");
        getEventRepository().save(dto2);

        val col = getEventRepository().load().toList();
        assertTrue(col.isEmpty());
    }
This is {@link KafkaCasEventRepositoryTests}.

@author Misagh Moayyed
@since 7.3.0
support/cas-server-support-events-kafka/src/test/java/org/apereo/cas/support/events/kafka/KafkaCasEventRepositoryTests.java