use of org.killbill.billing.mock.glue.MockAccountModule 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.MockAccountModule 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.MockAccountModule in project killbill by killbill.
the class TestTenantModuleWithEmbeddedDB method configure.
@Override
public void configure() {
super.configure();
install(new GuicyKillbillTestWithEmbeddedDBModule(configSource));
install(new NonEntityDaoModule(configSource));
install(new SecurityModule(configSource));
install(new ShiroModuleNoDB(configSource));
install(new MockAccountModule(configSource));
}
use of org.killbill.billing.mock.glue.MockAccountModule in project killbill by killbill.
the class TestOverdueModule method configure.
@Override
protected void configure() {
super.configure();
install(new AuditModule(configSource));
install(new CacheModule(configSource));
install(new ConfigModule(configSource));
install(new CallContextModule(configSource));
install(new CustomFieldModule(configSource));
install(new EmailModule(configSource));
install(new MockAccountModule(configSource));
install(new MockEntitlementModule(configSource, new ApplicatorBlockingApi()));
install(new MockInvoiceModule(configSource));
install(new MockTagModule(configSource, true));
install(new TemplateModule(configSource));
install(new MockTenantModule(configSource));
install(new MemoryGlobalLockerModule(configSource));
bind(OverdueBusListenerTester.class).asEagerSingleton();
bind(TestOverdueHelper.class).asEagerSingleton();
}
use of org.killbill.billing.mock.glue.MockAccountModule 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