Package org.fcrepo.kernel.impl
Class TestTransactionHelper
java.lang.Object
org.fcrepo.kernel.impl.TestTransactionHelper
TX help for testing
- Author:
- pwinckles
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.fcrepo.kernel.api.TransactionmockTransaction(String transactionId, boolean isShortLived) Create a mock transaction.
-
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 transactionisShortLived- is the transaction short-lived.- Returns:
- the mock transaction.
-