@Test
    void verifyOperation() throws Throwable {
        val stats = new CacheStatistics() {
            @Override
            public String getName() {
                return "Cache";
            }

            @Override
            public String toString(final StringBuilder builder) {
                return "Cache";
            }
        };
        assertEquals(0, stats.getCapacity());
        assertEquals(0, stats.getEvictions());
        assertEquals(0, stats.getPercentFree());
        assertEquals(0, stats.getSize());
    }
This is {@link CacheStatisticsTests}.

@author Misagh Moayyed
@since 6.3.0
api/cas-server-core-api-monitor/src/test/java/org/apereo/cas/monitor/CacheStatisticsTests.java