public void beforeEach() throws Exception {
cleanUpFileSystem();
STARTUP.start();
INFINISPAN_STARTUP.start();
environment = new TestingEnvironment(this);
txnMgr = org.infinispan.test.TestingUtil.getTransactionManager(environment.getCacheContainer().getCache(REPO_NAME));
INFINISPAN_STARTUP.stop();
MODESHAPE_STARTUP.start();
config = new RepositoryConfiguration(REPO_NAME, environment);
engine = new ModeShapeEngine();