use of org.springframework.transaction.NoTransactionException in project redisson by redisson.
the class TransactionalBean method testNoTransaction.
public void testNoTransaction() {
try {
RTransaction transaction = transactionManager.getCurrentTransaction();
Assertions.fail();
} catch (NoTransactionException e) {
// skip
}
}
Aggregations