public void SetUp()
 {
     activityDataService         = A.Fake <IActivityDataService>();
     jobGroupsDataService        = A.Fake <IJobGroupsDataService>();
     courseCategoriesDataService = A.Fake <ICourseCategoriesDataService>();
     courseDataService           = A.Fake <ICourseDataService>();
     activityService             = new ActivityService(
         activityDataService,
         jobGroupsDataService,
         courseCategoriesDataService,
         courseDataService
         );
 }
Esempio n. 2
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            service = new ActivityDataService(connection);
        }
Esempio n. 3
0
 public ActivityService(IActivityDataService dataService, IUserService userService)
 {
     this._dataService = dataService;
     this._userService = userService;
 }
Esempio n. 4
0
 public HistoryDetailsPageModel(IActivityDataService activityDataService, IActivityRepository activityRepository)
 {
     _activityDataService = activityDataService;
     _activityRepository  = activityRepository;
 }