use of org.killbill.billing.util.entity.dao.EntitySqlDaoTransactionalJdbiWrapper in project killbill by killbill.
the class TestSubscriptionDao method beforeMethod.
@Override
@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
if (hasFailed()) {
return;
}
// Note: this will cleanup all tables
super.beforeMethod();
// internal context will be configured for accountId
final AccountData accountData = subscriptionTestInitializer.initAccountData(clock);
final Account account = createAccount(accountData);
accountId = account.getId();
transactionalSqlDao = new EntitySqlDaoTransactionalJdbiWrapper(dbi, roDbi, clock, new CacheControllerDispatcher(), nonEntityDao, internalCallContextFactory);
}
Aggregations