Class TestTransactionHelper

java.lang.Object
org.fcrepo.kernel.impl.TestTransactionHelper

public class TestTransactionHelper extends Object
TX help for testing
Author:
pwinckles
  • Method Details

    • 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.