use of org.motechproject.tasks.repository.ChannelsDataService in project motech by motech.
the class TasksBundleIT method testChannelService.
private void testChannelService() throws InterruptedException {
assertNotNull(fromFileChannel);
ChannelsDataService channelsDataService = getTasksContext().getBean(ChannelsDataService.class);
Channel fromDB = channelsDataService.findByModuleName(testBundleName);
assertNotNull(fromDB);
assertEquals(fromDB, fromFileChannel);
}
Aggregations