public CourseDelegatesService( ICourseDataService courseDataService, ICourseDelegatesDataService courseDelegatesDataService ) { this.courseDataService = courseDataService; this.courseDelegatesDataService = courseDelegatesDataService; }
public void Setup() { courseDataService = A.Fake <ICourseDataService>(); courseDelegatesDataService = A.Fake <ICourseDelegatesDataService>(); courseDelegatesService = new CourseDelegatesService( courseDataService, courseDelegatesDataService ); }
public void Setup() { var connection = ServiceTestHelper.GetDatabaseConnection(); courseDelegatesDataService = new CourseDelegatesDataService(connection); }