String classname = "org.castor.cache.hashbelt.LRUHashbelt";
assertEquals(classname, cf.getCacheClassName());
}
public void testGetCache() {
CacheFactory cf = new LRUHashbeltFactory();
try {
Cache c = cf.getCache(null);
assertTrue(c instanceof LRUHashbelt);
} catch (CacheAcquireException ex) {
fail("Failed to get instance of LRUHashbelt from factroy");
}
}