@AfterEach
    public void emptyTrustEngine() {
        Stream.of(PRINCIPAL, PRINCIPAL2)
            .map(getMfaTrustEngine()::get)
            .flatMap(Set::stream)
            .forEach(r -> getMfaTrustEngine().remove(r.getRecordKey()));

        assertTrue(getMfaTrustEngine().get(PRINCIPAL).isEmpty());
        assertTrue(getMfaTrustEngine().get(PRINCIPAL2).isEmpty());
    }
Test cases for {@link JpaMultifactorAuthenticationTrustStorage}.

@author Daniel Frett
@since 5.3.0
support/cas-server-support-trusted-mfa-jdbc/src/test/java/org/apereo/cas/trusted/authentication/storage/JpaMultifactorAuthenticationTrustStorageTests.java