use of org.ff4j.test.cache.AbstractCacheManagerJUnitTest in project ff4j by ff4j.
the class AbstractCacheManagerTest method testAbstractCacheManagerForCoverage.
@Test
public void testAbstractCacheManagerForCoverage() {
AbstractCacheManagerJUnitTest ac = new AbstractCacheManagerJUnitTest() {
protected FF4JCacheManager getCacheManager() {
if (cacheManager == null) {
cacheManager = new InMemoryCacheManager();
}
return cacheManager;
}
};
ac.initialize();
ac.testClear();
ac.testPutOK();
ac.clean();
ac.testPutSeveral();
ac.testEvictOK();
ac.clean();
ac.testPutAvoidDoublon();
ac.clean();
ac.testEvictFeatureNotExist();
ac.clean();
Assert.assertNotNull(ac);
}
Aggregations