Search in sources :

Example 1 with MockCatalogModule

use of org.killbill.billing.catalog.MockCatalogModule in project killbill by killbill.

the class TestEntitlementModuleNoDB method configure.

@Override
protected void configure() {
    super.configure();
    install(new GuicyKillbillTestNoDBModule(configSource, clock));
    install(new MockNonEntityDaoModule(configSource));
    install(new MockTagModule(configSource));
    install(new MockSubscriptionModule(configSource));
    install(new MockCatalogModule(configSource));
    install(new MockAccountModule(configSource));
    bind(AuditDao.class).toInstance(new MockAuditDao());
}
Also used : AuditDao(org.killbill.billing.util.audit.dao.AuditDao) MockAuditDao(org.killbill.billing.util.audit.dao.MockAuditDao) MockAuditDao(org.killbill.billing.util.audit.dao.MockAuditDao) 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 2 with MockCatalogModule

use of org.killbill.billing.catalog.MockCatalogModule in project killbill by killbill.

the class TestJunctionModuleNoDB method configure.

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

Aggregations

GuicyKillbillTestNoDBModule (org.killbill.billing.GuicyKillbillTestNoDBModule)2 MockCatalogModule (org.killbill.billing.catalog.MockCatalogModule)2 MockAccountModule (org.killbill.billing.mock.glue.MockAccountModule)2 MockNonEntityDaoModule (org.killbill.billing.mock.glue.MockNonEntityDaoModule)2 MockSubscriptionModule (org.killbill.billing.mock.glue.MockSubscriptionModule)2 MockTagModule (org.killbill.billing.mock.glue.MockTagModule)2 AuditDao (org.killbill.billing.util.audit.dao.AuditDao)1 MockAuditDao (org.killbill.billing.util.audit.dao.MockAuditDao)1