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