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

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