Search in sources :

Example 11 with MockNonEntityDaoModule

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

the class TestAccountModuleNoDB method configure.

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

Example 12 with MockNonEntityDaoModule

use of org.killbill.billing.mock.glue.MockNonEntityDaoModule 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 13 with MockNonEntityDaoModule

use of org.killbill.billing.mock.glue.MockNonEntityDaoModule 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

MockNonEntityDaoModule (org.killbill.billing.mock.glue.MockNonEntityDaoModule)13 GuicyKillbillTestNoDBModule (org.killbill.billing.GuicyKillbillTestNoDBModule)12 MockAccountModule (org.killbill.billing.mock.glue.MockAccountModule)9 MockTagModule (org.killbill.billing.mock.glue.MockTagModule)3 MockCatalogModule (org.killbill.billing.catalog.MockCatalogModule)2 MockSubscriptionModule (org.killbill.billing.mock.glue.MockSubscriptionModule)2 CacheControllerDispatcher (org.killbill.billing.util.cache.CacheControllerDispatcher)2 CacheModule (org.killbill.billing.util.glue.CacheModule)2 ConfigModule (org.killbill.billing.util.glue.ConfigModule)2 SecurityManager (org.apache.shiro.mgt.SecurityManager)1 MockGlobalLockerModule (org.killbill.billing.mock.glue.MockGlobalLockerModule)1 MockTenantModule (org.killbill.billing.mock.glue.MockTenantModule)1 TenantInternalApi (org.killbill.billing.tenant.api.TenantInternalApi)1