public void setUp() throws CloneNotSupportedException
{
CacheFactory cf = new UnitTestCacheFactory<Object, Object>();
Configuration conf = new Configuration();
conf.setCacheMode(Configuration.CacheMode.REPL_SYNC);
BuddyReplicationConfig brc = new BuddyReplicationConfig();
brc.setEnabled(true);
conf.setBuddyReplicationConfig(brc);
c1 = cf.createCache(conf, false);
c2 = cf.createCache(conf.clone(), false);
c3 = cf.createCache(conf.clone(), false);