@Test
    void verifyOperation() {
        val service = new AmnesiacPasswordHistoryService();
        assertTrue(service.fetchAll().isEmpty());
        assertTrue(service.fetch("casuser").isEmpty());

        assertDoesNotThrow(() -> {
            service.removeAll();
            service.remove("casuser");
        });
    }
This is {@link AmnesiacPasswordHistoryServiceTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-pm/src/test/java/org/apereo/cas/pm/history/AmnesiacPasswordHistoryServiceTests.java