Esempio n. 1
0
 public void Setup()
 {
     connection = ServiceTestHelper.GetDatabaseConnection();
     tutorialContentDataService = new TutorialContentDataService(connection);
     tutorialContentTestHelper  = new TutorialContentTestHelper(connection);
     sectionContentTestHelper   = new SectionContentTestHelper(connection);
     courseContentTestHelper    = new CourseContentTestHelper(connection);
 }
Esempio n. 2
0
        public void SetUp()
        {
            connection = ServiceTestHelper.GetDatabaseConnection();
            var logger = A.Fake <ILogger <ProgressDataService> >();

            progressDataService       = new ProgressDataService(connection, logger);
            tutorialContentTestHelper = new TutorialContentTestHelper(connection);
            progressTestHelper        = new ProgressTestHelper(connection);
        }
Esempio n. 3
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();
            var logger     = A.Fake <ILogger <DiagnosticAssessmentDataService> >();

            diagnosticAssessmentDataService = new DiagnosticAssessmentDataService(connection, logger);
            tutorialContentTestHelper       = new TutorialContentTestHelper(connection);
            sectionContentTestHelper        = new SectionContentTestHelper(connection);
        }
Esempio n. 4
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();
            var logger     = A.Fake <ILogger <PostLearningAssessmentService> >();

            postLearningAssessmentService    = new PostLearningAssessmentService(connection, logger);
            postLearningAssessmentTestHelper = new PostLearningAssessmentTestHelper(connection);
            courseContentTestHelper          = new CourseContentTestHelper(connection);
            sectionContentTestHelper         = new SectionContentTestHelper(connection);
            tutorialContentTestHelper        = new TutorialContentTestHelper(connection);
        }