Search in sources :

Example 11 with MockAccountModule

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

the class BeatrixIntegrationModuleNoDB method configure.

@Override
protected void configure() {
    install(new GuicyKillbillTestNoDBModule(configSource));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockAccountModule(configSource));
    bind(CacheControllerDispatcher.class).toProvider(Providers.<CacheControllerDispatcher>of(null));
}
Also used : CacheControllerDispatcher(org.killbill.billing.util.cache.CacheControllerDispatcher) GuicyKillbillTestNoDBModule(org.killbill.billing.GuicyKillbillTestNoDBModule) MockNonEntityDaoModule(org.killbill.billing.mock.glue.MockNonEntityDaoModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Example 12 with MockAccountModule

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

the class TestPaymentModuleNoDB method configure.

@Override
protected void configure() {
    install(new GuicyKillbillTestNoDBModule(configSource));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockAccountModule(configSource));
    super.configure();
}
Also used : GuicyKillbillTestNoDBModule(org.killbill.billing.GuicyKillbillTestNoDBModule) MockNonEntityDaoModule(org.killbill.billing.mock.glue.MockNonEntityDaoModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Aggregations

MockAccountModule (org.killbill.billing.mock.glue.MockAccountModule)12 MockNonEntityDaoModule (org.killbill.billing.mock.glue.MockNonEntityDaoModule)9 GuicyKillbillTestNoDBModule (org.killbill.billing.GuicyKillbillTestNoDBModule)8 MockTagModule (org.killbill.billing.mock.glue.MockTagModule)4 CacheModule (org.killbill.billing.util.glue.CacheModule)3 ConfigModule (org.killbill.billing.util.glue.ConfigModule)3 MockCatalogModule (org.killbill.billing.catalog.MockCatalogModule)2 MockSubscriptionModule (org.killbill.billing.mock.glue.MockSubscriptionModule)2 MockTenantModule (org.killbill.billing.mock.glue.MockTenantModule)2 CacheControllerDispatcher (org.killbill.billing.util.cache.CacheControllerDispatcher)2 SecurityManager (org.apache.shiro.mgt.SecurityManager)1 GuicyKillbillTestWithEmbeddedDBModule (org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule)1 MockEntitlementModule (org.killbill.billing.mock.glue.MockEntitlementModule)1 MockInvoiceModule (org.killbill.billing.mock.glue.MockInvoiceModule)1 TestOverdueHelper (org.killbill.billing.overdue.TestOverdueHelper)1 OverdueBusListenerTester (org.killbill.billing.overdue.applicator.OverdueBusListenerTester)1 SubscriptionBaseTimelineApi (org.killbill.billing.subscription.api.timeline.SubscriptionBaseTimelineApi)1 TenantInternalApi (org.killbill.billing.tenant.api.TenantInternalApi)1 EmailModule (org.killbill.billing.util.email.EmailModule)1 TemplateModule (org.killbill.billing.util.email.templates.TemplateModule)1