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