@Before public void doTheNeedful() { testingService.clearDatabase(); rh = new RegionHelper( languageDataService, circleDataService, stateDataService, districtDataService, districtService); sh = new SubscriptionHelper( subscriptionService, subscriberDataService, subscriptionPackDataService, languageDataService, circleDataService, stateDataService, districtDataService, districtService); sh.childPack(); sh.pregnancyPack(); csrService.buildMessageDurationCache(); }
@Before public void setUp() { testingService.clearDatabase(); subscriptionHelper = new SubscriptionHelper( subscriptionService, subscriberDataService, subscriptionPackDataService, languageDataService, circleDataService, stateDataService, districtDataService, districtService); subscriptionHelper.pregnancyPack(); subscriptionHelper.childPack(); }