Class MockTransactionOperations

  • All Implemented Interfaces:
    org.springframework.transaction.support.TransactionOperations

    public class MockTransactionOperations
    extends Object
    implements org.springframework.transaction.support.TransactionOperations
    • Field Detail

      • INSTANCE

        public static org.springframework.transaction.support.TransactionOperations INSTANCE
    • Method Detail

      • execute

        public <T> T execute​(org.springframework.transaction.support.TransactionCallback<T> action)
                      throws org.springframework.transaction.TransactionException
        Specified by:
        execute in interface org.springframework.transaction.support.TransactionOperations
        Throws:
        org.springframework.transaction.TransactionException