public void Setup() { connection = ServiceTestHelper.GetDatabaseConnection(); tutorialContentDataService = new TutorialContentDataService(connection); tutorialContentTestHelper = new TutorialContentTestHelper(connection); sectionContentTestHelper = new SectionContentTestHelper(connection); courseContentTestHelper = new CourseContentTestHelper(connection); }
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); }
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); }
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); }