@Test public void testDoGetTransactionTransactionActive() { CompensatingTransactionHolderSupport expectedContextHolder = new DirContextHolder(null, null); TransactionSynchronizationManager.bindResource(contextSourceMock, expectedContextHolder); Object result = tested.doGetTransaction(); assertThat(((CompensatingTransactionObject) result).getHolder()).isSameAs(expectedContextHolder); }
protected Object doGetTransaction() { return delegate.doGetTransaction(); }
ContextSourceTransactionManager extends
        AbstractPlatformTransactionManager implements InitializingBean { protected Object doGetTransaction() { return delegate.doGetTransaction(); } }
ContextSourceTransactionManager extends
        AbstractPlatformTransactionManager implements InitializingBean { protected Object doGetTransaction() { return delegate.doGetTransaction(); }  }
ContextSourceTransactionManager extends
        AbstractPlatformTransactionManager implements InitializingBean { protected Object doGetTransaction() { return delegate.doGetTransaction(); }  ContextSource getContextSource(); void setContextSource(ContextSource contextSource); void setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy); void afterPropertiesSet(); }
ContextSourceTransactionManager extends
        AbstractPlatformTransactionManager implements InitializingBean { protected Object doGetTransaction() { return delegate.doGetTransaction(); }  ContextSource getContextSource(); void setContextSource(ContextSource contextSource); void setRenamingStrategy(TempEntryRenamingStrategy renamingStrategy); void afterPropertiesSet();  }