Ejemplo n.º 1
0
 public CourseDelegatesService(
     ICourseDataService courseDataService,
     ICourseDelegatesDataService courseDelegatesDataService
     )
 {
     this.courseDataService          = courseDataService;
     this.courseDelegatesDataService = courseDelegatesDataService;
 }
Ejemplo n.º 2
0
        public void Setup()
        {
            courseDataService          = A.Fake <ICourseDataService>();
            courseDelegatesDataService = A.Fake <ICourseDelegatesDataService>();

            courseDelegatesService = new CourseDelegatesService(
                courseDataService,
                courseDelegatesDataService
                );
        }
Ejemplo n.º 3
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            courseDelegatesDataService = new CourseDelegatesDataService(connection);
        }