@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception
{
UnitTestCacheFactory<String, String> instance = new UnitTestCacheFactory<String, String>();
cache = (CacheSPI) instance.createCache(new XmlConfigurationParser().parseFile("configs/local-passivation.xml"), false, getClass());
cache.getConfiguration().getEvictionConfig().setWakeupInterval(0);
cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
Object listener = new TestCacheListener();
cache.getConfiguration().getCacheLoaderConfig().getFirstCacheLoaderConfig().setClassName(DummyInMemoryCacheLoader.class.getName());
cache.start();