Search in sources :

Example 1 with TransactionManager

use of org.molgenis.data.transaction.TransactionManager in project molgenis by molgenis.

the class EntityTypeRegistryImplTest method setUpBeforeMethod.

@BeforeMethod
public void setUpBeforeMethod() {
    TransactionManager transactionManager = mock(TransactionManager.class);
    entityTypeRegistryImpl = new EntityTypeRegistryImpl(transactionManager);
    bindResource(TRANSACTION_ID_RESOURCE_NAME, "1");
}
Also used : TransactionManager(org.molgenis.data.transaction.TransactionManager) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

TransactionManager (org.molgenis.data.transaction.TransactionManager)1 BeforeMethod (org.testng.annotations.BeforeMethod)1