Search in sources :

Example 1 with GuicyKillbillTestNoDBModule

use of org.killbill.billing.GuicyKillbillTestNoDBModule in project killbill by killbill.

the class TestServerModuleNoDB method configure.

@Override
public 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 2 with GuicyKillbillTestNoDBModule

use of org.killbill.billing.GuicyKillbillTestNoDBModule in project killbill by killbill.

the class TestCatalogModuleNoDB method configure.

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

Example 3 with GuicyKillbillTestNoDBModule

use of org.killbill.billing.GuicyKillbillTestNoDBModule in project killbill by killbill.

the class TestOverdueModuleNoDB 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 4 with GuicyKillbillTestNoDBModule

use of org.killbill.billing.GuicyKillbillTestNoDBModule in project killbill by killbill.

the class TestJaxrsModuleNoDB method configure.

@Override
public void configure() {
    super.configure();
    install(new GuicyKillbillTestNoDBModule(configSource));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockAccountModule(configSource));
    install(new CacheModule(configSource));
    install(new ConfigModule(configSource));
    bind(TenantInternalApi.class).toInstance(Mockito.mock(TenantInternalApi.class));
    bind(SecurityManager.class).toInstance(Mockito.mock(SecurityManager.class));
}
Also used : SecurityManager(org.apache.shiro.mgt.SecurityManager) ConfigModule(org.killbill.billing.util.glue.ConfigModule) GuicyKillbillTestNoDBModule(org.killbill.billing.GuicyKillbillTestNoDBModule) TenantInternalApi(org.killbill.billing.tenant.api.TenantInternalApi) CacheModule(org.killbill.billing.util.glue.CacheModule) MockNonEntityDaoModule(org.killbill.billing.mock.glue.MockNonEntityDaoModule) MockAccountModule(org.killbill.billing.mock.glue.MockAccountModule)

Example 5 with GuicyKillbillTestNoDBModule

use of org.killbill.billing.GuicyKillbillTestNoDBModule in project killbill by killbill.

the class TestUtilModuleNoDB method configure.

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

Aggregations

GuicyKillbillTestNoDBModule (org.killbill.billing.GuicyKillbillTestNoDBModule)14 MockNonEntityDaoModule (org.killbill.billing.mock.glue.MockNonEntityDaoModule)12 MockAccountModule (org.killbill.billing.mock.glue.MockAccountModule)8 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 SecurityManager (org.apache.shiro.mgt.SecurityManager)1 MockGlobalLockerModule (org.killbill.billing.mock.glue.MockGlobalLockerModule)1 TenantInternalApi (org.killbill.billing.tenant.api.TenantInternalApi)1 CacheModule (org.killbill.billing.util.glue.CacheModule)1 ConfigModule (org.killbill.billing.util.glue.ConfigModule)1