Search in sources :

Example 1 with TagDefinitionDao

use of org.killbill.billing.util.tag.dao.TagDefinitionDao in project killbill by killbill.

the class TestDefaultTagUserApiWithMockDao method setUp.

@BeforeMethod(groups = "fast")
public void setUp() throws Exception {
    final TagDao tagDao = Mockito.mock(TagDao.class);
    final InternalCallContextFactory internalCallContextFactory = Mockito.mock(InternalCallContextFactory.class);
    tagDefinitionDao = Mockito.mock(TagDefinitionDao.class);
    tagUserApi = new DefaultTagUserApi(internalCallContextFactory, tagDefinitionDao, tagDao);
    context = Mockito.mock(DefaultCallContext.class);
}
Also used : TagDao(org.killbill.billing.util.tag.dao.TagDao) TagDefinitionDao(org.killbill.billing.util.tag.dao.TagDefinitionDao) DefaultCallContext(org.killbill.billing.callcontext.DefaultCallContext) InternalCallContextFactory(org.killbill.billing.util.callcontext.InternalCallContextFactory) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

DefaultCallContext (org.killbill.billing.callcontext.DefaultCallContext)1 InternalCallContextFactory (org.killbill.billing.util.callcontext.InternalCallContextFactory)1 TagDao (org.killbill.billing.util.tag.dao.TagDao)1 TagDefinitionDao (org.killbill.billing.util.tag.dao.TagDefinitionDao)1 BeforeMethod (org.testng.annotations.BeforeMethod)1