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();
engine.start();
engine.deploy(config);
repository = engine.startRepository(config.getName()).get();
session = repository.login();