Search in sources :

Example 1 with MockTagModule

use of org.killbill.billing.mock.glue.MockTagModule in project killbill by killbill.

the class TestInvoiceModuleNoDB method configure.

@Override
public void configure() {
    super.configure();
    install(new GuicyKillbillTestNoDBModule(configSource, clock));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockTagModule(configSource));
    install(new MockAccountModule(configSource));
    bind(AuditDao.class).toInstance(new MockAuditDao());
    installCurrencyConversionApi();
}
Also used : AuditDao(org.killbill.billing.util.audit.dao.AuditDao) MockAuditDao(org.killbill.billing.util.audit.dao.MockAuditDao) MockAuditDao(org.killbill.billing.util.audit.dao.MockAuditDao) MockTagModule(org.killbill.billing.mock.glue.MockTagModule) GuicyKillbillTestNoDBModule(org.killbill.billing.GuicyKillbillTestNoDBModule) MockNonEntityDaoModule(org.killbill.billing.mock.glue.MockNonEntityDaoModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Example 2 with MockTagModule

use of org.killbill.billing.mock.glue.MockTagModule in project killbill by killbill.

the class TestEntitlementModuleNoDB method configure.

@Override
protected void configure() {
    super.configure();
    install(new GuicyKillbillTestNoDBModule(configSource, clock));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockTagModule(configSource));
    install(new MockSubscriptionModule(configSource));
    install(new MockCatalogModule(configSource));
    install(new MockAccountModule(configSource));
    bind(AuditDao.class).toInstance(new MockAuditDao());
}
Also used : AuditDao(org.killbill.billing.util.audit.dao.AuditDao) MockAuditDao(org.killbill.billing.util.audit.dao.MockAuditDao) MockAuditDao(org.killbill.billing.util.audit.dao.MockAuditDao) MockSubscriptionModule(org.killbill.billing.mock.glue.MockSubscriptionModule) MockTagModule(org.killbill.billing.mock.glue.MockTagModule) GuicyKillbillTestNoDBModule(org.killbill.billing.GuicyKillbillTestNoDBModule) MockCatalogModule(org.killbill.billing.catalog.MockCatalogModule) MockNonEntityDaoModule(org.killbill.billing.mock.glue.MockNonEntityDaoModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Example 3 with MockTagModule

use of org.killbill.billing.mock.glue.MockTagModule in project killbill by killbill.

the class TestJunctionModuleNoDB method configure.

@Override
protected void configure() {
    super.configure();
    install(new GuicyKillbillTestNoDBModule(configSource, clock));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockAccountModule(configSource));
    install(new MockCatalogModule(configSource));
    install(new MockSubscriptionModule(configSource));
    install(new MockEntitlementModuleForJunction(configSource));
    install(new MockTagModule(configSource));
}
Also used : MockSubscriptionModule(org.killbill.billing.mock.glue.MockSubscriptionModule) MockTagModule(org.killbill.billing.mock.glue.MockTagModule) GuicyKillbillTestNoDBModule(org.killbill.billing.GuicyKillbillTestNoDBModule) MockCatalogModule(org.killbill.billing.catalog.MockCatalogModule) MockNonEntityDaoModule(org.killbill.billing.mock.glue.MockNonEntityDaoModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Example 4 with MockTagModule

use of org.killbill.billing.mock.glue.MockTagModule 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();
}
Also used : EventModule(org.killbill.billing.util.glue.EventModule) 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) 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)4 MockTagModule (org.killbill.billing.mock.glue.MockTagModule)4 GuicyKillbillTestNoDBModule (org.killbill.billing.GuicyKillbillTestNoDBModule)3 MockNonEntityDaoModule (org.killbill.billing.mock.glue.MockNonEntityDaoModule)3 MockCatalogModule (org.killbill.billing.catalog.MockCatalogModule)2 MockSubscriptionModule (org.killbill.billing.mock.glue.MockSubscriptionModule)2 AuditDao (org.killbill.billing.util.audit.dao.AuditDao)2 MockAuditDao (org.killbill.billing.util.audit.dao.MockAuditDao)2 MockEntitlementModule (org.killbill.billing.mock.glue.MockEntitlementModule)1 MockInvoiceModule (org.killbill.billing.mock.glue.MockInvoiceModule)1 MockTenantModule (org.killbill.billing.mock.glue.MockTenantModule)1 TestOverdueHelper (org.killbill.billing.overdue.TestOverdueHelper)1 OverdueBusListenerTester (org.killbill.billing.overdue.applicator.OverdueBusListenerTester)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 EventModule (org.killbill.billing.util.glue.EventModule)1