use of org.killbill.billing.util.glue.ConfigModule 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.ConfigModule in project killbill by killbill.
the class TestUsageModuleWithEmbeddedDB method configure.
@Override
public void configure() {
super.configure();
install(new GuicyKillbillTestWithEmbeddedDBModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new NonEntityDaoModule(configSource));
install(new DefaultAccountModule(configSource));
}
use of org.killbill.billing.util.glue.ConfigModule 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();
}
use of org.killbill.billing.util.glue.ConfigModule in project killbill by killbill.
the class TestJunctionModule method configure.
@Override
protected void configure() {
super.configure();
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new CallContextModule(configSource));
install(new MockTenantModule(configSource));
// Needed because Entitlement depends on Security
install(new KillBillShiroModuleOnlyIniRealm(configSource));
install(new SecurityModule(configSource));
}
use of org.killbill.billing.util.glue.ConfigModule in project killbill by killbill.
the class TestDefaultSubscriptionModule method configure.
@Override
protected void configure() {
super.configure();
install(new CatalogModule(configSource));
install(new CallContextModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new MockTenantModule(configSource));
bind(TestSubscriptionHelper.class).asEagerSingleton();
bind(TestApiListener.class).asEagerSingleton();
bind(SubscriptionTestInitializer.class).to(DefaultSubscriptionTestInitializer.class).asEagerSingleton();
}
Aggregations