use of org.killbill.billing.mock.glue.MockTenantModule 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.mock.glue.MockTenantModule 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.mock.glue.MockTenantModule 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();
}
use of org.killbill.billing.mock.glue.MockTenantModule in project killbill by killbill.
the class TestUsageModule method installUsageUserApi.
protected void installUsageUserApi() {
bind(MockUsageUserApi.class).asEagerSingleton();
bind(UsageUserApi.class).to(MockUsageUserApi.class).asEagerSingleton();
install(new MockTenantModule(configSource));
}
use of org.killbill.billing.mock.glue.MockTenantModule in project killbill by killbill.
the class TestCatalogModule method configure.
@Override
public void configure() {
super.configure();
install(new MockNonEntityDaoModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new MockTenantModule(configSource));
install(new MockAccountModule(configSource));
}
Aggregations