assertEquals("b", AtomicMapLookup.getAtomicMap(cache, m.getName()).get("a"));
}
public void testStoreByteArrays(final Method m) throws PersistenceException {
ConfigurationBuilder base = new ConfigurationBuilder();
base.dataContainer().keyEquivalence(ByteArrayEquivalence.INSTANCE);
// we need to purge the container when loading, because we could try to compare
// some old entry using ByteArrayEquivalence and this throws ClassCastException
// for non-byte[] arguments
cacheManager.defineConfiguration(m.getName(), configureCacheLoader(base, true).build());
Cache<byte[], byte[]> cache = cacheManager.getCache(m.getName());