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