public void setUp() throws Exception
{
exception = null;
CacheFactory<Boolean, Boolean> instance = new DefaultCacheFactory();
// setup and start the source cache
srcCache = (CacheSPI<Boolean, Boolean>) instance.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), false);
srcCache.getConfiguration().setTransactionManagerLookupClass(TransactionSetup.getManagerLookup());
srcCache.getConfiguration().setCacheMode(Configuration.CacheMode.REPL_SYNC);
srcCache.getConfiguration().setSyncCommitPhase(true);
srcCache.getConfiguration().setLockAcquisitionTimeout(LOCK_ACQUISITION_TIMEOUT);