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
         );
 }
Beispiel #2
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

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