use of org.molgenis.data.transaction.TransactionExceptionTranslatorRegistry in project molgenis by molgenis.
the class PostgreSqlTransactionManagerTest method setUpBeforeMethod.
@BeforeMethod
public void setUpBeforeMethod() {
idGenerator = mock(IdGenerator.class);
DataSource dataSource = mock(DataSource.class);
TransactionExceptionTranslatorRegistry transactionExceptionTranslatorRegistry = mock(TransactionExceptionTranslatorRegistry.class);
molgenisTransactionManager = new PostgreSqlTransactionManager(idGenerator, dataSource, transactionExceptionTranslatorRegistry);
}
Aggregations