use of org.killbill.billing.mock.glue.MockNonEntityDaoModule 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));
}
use of org.killbill.billing.mock.glue.MockNonEntityDaoModule in project killbill by killbill.
the class TestOverdueModuleNoDB method configure.
@Override
public void configure() {
super.configure();
install(new GuicyKillbillTestNoDBModule(configSource));
install(new MockNonEntityDaoModule(configSource));
}
use of org.killbill.billing.mock.glue.MockNonEntityDaoModule 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));
}
use of org.killbill.billing.mock.glue.MockNonEntityDaoModule 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));
}
use of org.killbill.billing.mock.glue.MockNonEntityDaoModule in project killbill by killbill.
the class TestCatalogModule method configure.
@Override
public void configure() {
super.configure();
install(new MockNonEntityDaoModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new MockTenantModule(configSource));
install(new MockAccountModule(configSource));
}
Aggregations