use of org.killbill.billing.util.glue.EventModule in project killbill by killbill.
the class TestUsageModuleWithEmbeddedDB method configure.
@Override
public void configure() {
super.configure();
install(new GuicyKillbillTestWithEmbeddedDBModule(configSource, clock));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new EventModule(configSource));
install(new NonEntityDaoModule(configSource));
install(new DefaultAccountModule(configSource));
install(new AuditModule(configSource));
}
use of org.killbill.billing.util.glue.EventModule 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 MockTenantModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new EventModule(configSource));
install(new CallContextModule(configSource));
installExternalApis();
bind(TestPaymentHelper.class).asEagerSingleton();
}
use of org.killbill.billing.util.glue.EventModule 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 EventModule(configSource));
install(new MockTenantModule(configSource));
install(new MockAccountModule(configSource));
}
use of org.killbill.billing.util.glue.EventModule in project killbill by killbill.
the class BeatrixIntegrationModule method configure.
@Override
protected void configure() {
install(new GuicyKillbillTestWithEmbeddedDBModule(true, configSource, clock, killbillFeatures));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new EventModule(configSource));
install(new CallContextModule(configSource));
install(new TagStoreModule(configSource));
install(new CustomFieldModule(configSource));
install(new DefaultAccountModule(configSource, killbillFeatures));
install(new CatalogModule(configSource));
install(new DefaultSubscriptionModule(configSource));
install(new DefaultEntitlementModule(configSource));
install(new DefaultInvoiceModuleWithSwitchRepairLogic(configSource));
install(new TemplateModule(configSource));
install(new PaymentPluginMockModule(configSource, clock));
install(new DefaultJunctionModule(configSource));
install(new IntegrationTestOverdueModule(configSource));
install(new AuditModule(configSource));
install(new CurrencyModule(configSource));
install(new DefaultTenantModule(configSource));
install(new ExportModule(configSource));
install(new NonEntityDaoModule(configSource));
install(new RecordIdModule(configSource));
install(new UsageModule(configSource));
install(new SecurityModule(configSource));
install(new NodesModule(configSource));
install(new BroadcastModule(configSource));
install(new KillBillShiroModuleOnlyIniRealm(configSource));
install(new BeatrixModule(configSource));
final ConfigurationObjectFactory factory = new ConfigurationObjectFactory(skifeConfigSource);
final JaxrsConfig jaxrsConfig = factory.build(JaxrsConfig.class);
install(new KillbillApiAopModule(jaxrsConfig));
bind(AccountChecker.class).asEagerSingleton();
bind(SubscriptionChecker.class).asEagerSingleton();
bind(InvoiceChecker.class).asEagerSingleton();
bind(PaymentChecker.class).asEagerSingleton();
bind(RefundChecker.class).asEagerSingleton();
bind(AuditChecker.class).asEagerSingleton();
bind(TestApiListener.class).asEagerSingleton();
bind(TestDBRouterAPI.class).asEagerSingleton();
}
use of org.killbill.billing.util.glue.EventModule 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 EventModule(configSource));
install(new CallContextModule(configSource));
install(new CustomFieldModule(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));
bind(OverdueBusListenerTester.class).asEagerSingleton();
bind(TestOverdueHelper.class).asEagerSingleton();
}
Aggregations