use of org.killbill.billing.util.glue.MemoryGlobalLockerModule in project killbill by killbill.
the class TestInvoiceModule method configure.
@Override
protected void configure() {
super.configure();
install(new CallContextModule(configSource));
install(new MemoryGlobalLockerModule(configSource));
install(new CatalogModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new TemplateModule(configSource));
install(new EmailModule(configSource));
install(new MockTenantModule(configSource));
install(new CustomFieldModule(configSource));
install(new UsageModule(configSource));
installExternalApis();
bind(TestInvoiceHelper.class).asEagerSingleton();
}
use of org.killbill.billing.util.glue.MemoryGlobalLockerModule in project killbill by killbill.
the class TestPaymentModule method configure.
@Override
protected void configure() {
super.configure();
install(new MockInvoiceModule(configSource));
install(new MockSubscriptionModule(configSource));
install(new MemoryGlobalLockerModule(configSource));
install(new MockTenantModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new CallContextModule(configSource));
installExternalApis();
bind(TestPaymentHelper.class).asEagerSingleton();
}
use of org.killbill.billing.util.glue.MemoryGlobalLockerModule in project killbill by killbill.
the class TestOverdueModule method configure.
@Override
protected void configure() {
super.configure();
install(new AuditModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new CallContextModule(configSource));
install(new CustomFieldModule(configSource));
install(new EmailModule(configSource));
install(new MockAccountModule(configSource));
install(new MockEntitlementModule(configSource, new ApplicatorBlockingApi()));
install(new MockInvoiceModule(configSource));
install(new MockTagModule(configSource, true));
install(new TemplateModule(configSource));
install(new MockTenantModule(configSource));
install(new MemoryGlobalLockerModule(configSource));
bind(OverdueBusListenerTester.class).asEagerSingleton();
bind(TestOverdueHelper.class).asEagerSingleton();
}
Aggregations