private TransactionContextManager tcm;
private TransactionManager tm;
protected void setUp() throws Exception {
TransactionManagerFactoryBean tmcf = new TransactionManagerFactoryBean();
tmcf.afterPropertiesSet();
ExtendedTransactionManager etm = (ExtendedTransactionManager) tmcf.getObject();
TransactionContextManagerFactoryBean tcmfb = new TransactionContextManagerFactoryBean();
tcmfb.setTransactionManager(etm);
tcmfb.afterPropertiesSet();
tcm = (TransactionContextManager) tcmfb.getObject();