Class TestTransactionHelper

    • Method Detail

      • mockTransaction

        public static org.fcrepo.kernel.api.Transaction mockTransaction​(String transactionId,
                                                                        boolean isShortLived)
        Create a mock transaction.
        Parameters:
        transactionId - the id of the transaction
        isShortLived - is the transaction short-lived.
        Returns:
        the mock transaction.