Search in sources :

Example 6 with MockAccountModule

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

the class TestInvoiceModuleNoDB method configure.

@Override
public void configure() {
    super.configure();
    install(new GuicyKillbillTestNoDBModule(configSource));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockTagModule(configSource));
    install(new MockAccountModule(configSource));
    installCurrencyConversionApi();
}
Also used : 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 7 with MockAccountModule

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

the class TestJunctionModuleNoDB method configure.

@Override
protected void configure() {
    super.configure();
    install(new GuicyKillbillTestNoDBModule(configSource));
    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 8 with MockAccountModule

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

the class TestDefaultSubscriptionModuleNoDB method configure.

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

Example 9 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 10 with MockAccountModule

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

the class TestEntitlementModuleNoDB method configure.

@Override
protected void configure() {
    super.configure();
    install(new GuicyKillbillTestNoDBModule(configSource));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockTagModule(configSource));
    install(new MockSubscriptionModule(configSource));
    install(new MockCatalogModule(configSource));
    install(new MockAccountModule(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)

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