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 ); }
public void Setup() { var connection = ServiceTestHelper.GetDatabaseConnection(); service = new ActivityDataService(connection); }
public ActivityService(IActivityDataService dataService, IUserService userService) { this._dataService = dataService; this._userService = userService; }
public HistoryDetailsPageModel(IActivityDataService activityDataService, IActivityRepository activityRepository) { _activityDataService = activityDataService; _activityRepository = activityRepository; }