Search in sources :

Example 1 with MockEntitlementModule

use of org.killbill.billing.mock.glue.MockEntitlementModule 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();
}
Also used : MemoryGlobalLockerModule(org.killbill.billing.util.glue.MemoryGlobalLockerModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) TemplateModule(org.killbill.billing.util.email.templates.TemplateModule) CacheModule(org.killbill.billing.util.glue.CacheModule) MockInvoiceModule(org.killbill.billing.mock.glue.MockInvoiceModule) EmailModule(org.killbill.billing.util.email.EmailModule) TestOverdueHelper(org.killbill.billing.overdue.TestOverdueHelper) MockTenantModule(org.killbill.billing.mock.glue.MockTenantModule) OverdueBusListenerTester(org.killbill.billing.overdue.applicator.OverdueBusListenerTester) CallContextModule(org.killbill.billing.util.glue.CallContextModule) MockEntitlementModule(org.killbill.billing.mock.glue.MockEntitlementModule) MockTagModule(org.killbill.billing.mock.glue.MockTagModule) AuditModule(org.killbill.billing.util.glue.AuditModule) CustomFieldModule(org.killbill.billing.util.glue.CustomFieldModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Aggregations

MockAccountModule (org.killbill.billing.mock.glue.MockAccountModule)1 MockEntitlementModule (org.killbill.billing.mock.glue.MockEntitlementModule)1 MockInvoiceModule (org.killbill.billing.mock.glue.MockInvoiceModule)1 MockTagModule (org.killbill.billing.mock.glue.MockTagModule)1 MockTenantModule (org.killbill.billing.mock.glue.MockTenantModule)1 TestOverdueHelper (org.killbill.billing.overdue.TestOverdueHelper)1 OverdueBusListenerTester (org.killbill.billing.overdue.applicator.OverdueBusListenerTester)1 EmailModule (org.killbill.billing.util.email.EmailModule)1 TemplateModule (org.killbill.billing.util.email.templates.TemplateModule)1 AuditModule (org.killbill.billing.util.glue.AuditModule)1 CacheModule (org.killbill.billing.util.glue.CacheModule)1 CallContextModule (org.killbill.billing.util.glue.CallContextModule)1 ConfigModule (org.killbill.billing.util.glue.ConfigModule)1 CustomFieldModule (org.killbill.billing.util.glue.CustomFieldModule)1 MemoryGlobalLockerModule (org.killbill.billing.util.glue.MemoryGlobalLockerModule)1