@Test
    void verifyOperation() {
        val key = new HashCodeCacheKey(System.nanoTime(), RandomUtils.nextInt());
        assertEquals(key, key);
        assertNotEquals(key, new Object());
        val key2 = new HashCodeCacheKey(System.nanoTime(), RandomUtils.nextInt());
        assertNotEquals(key, key2);
        val key3 = new HashCodeCacheKey(key.getCheckSum(), RandomUtils.nextInt());
        assertNotEquals(key, key3);
        assertTrue(key3.getHashCode() > 0);
    }
This is {@link HashCodeCacheKeyTests}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-person-directory-core/src/test/java/org/apereo/cas/persondir/cache/HashCodeCacheKeyTests.java