Esempio n. 1
0
 public void SetUp()
 {
     connection      = ServiceTestHelper.GetDatabaseConnection();
     service         = new RegistrationDataService(connection);
     userDataService = new UserDataService(connection);
     notificationPreferencesDataService = new NotificationPreferencesDataService(connection);
 }
        public void Setup()
        {
            connection = ServiceTestHelper.GetDatabaseConnection();
            var logger = A.Fake <ILogger <FrameworkService> >();

            frameworkService = new FrameworkService(connection, logger);
        }
Esempio n. 3
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            sessionDataService = new SessionDataService(connection);
            sessionTestHelper  = new SessionTestHelper(connection);
        }
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            courseCompletionService = new CourseCompletionService(connection);
            courseContentTestHelper = new CourseContentTestHelper(connection);
        }
Esempio n. 5
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();
            var logger     = A.Fake <ILogger <JobGroupsDataService> >();

            jobGroupsDataService = new JobGroupsDataService(connection, logger);
        }
Esempio n. 6
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            systemNotificationsDataService = new SystemNotificationsDataService(connection);
            systemNotificationTestHelper   = new SystemNotificationTestHelper(connection);
        }
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();
            var logger     = A.Fake <ILogger <CourseCategoriesDataService> >();

            courseCategoriesDataService = new CourseCategoriesDataService(connection, logger);
        }
Esempio n. 8
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. 9
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            service = new LearningResourceReferenceDataService(connection);

            testHelper = new CompetencyLearningResourcesTestHelper(connection);
        }
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();
            var logger     = A.Fake <ILogger <DiagnosticAssessmentService> >();

            diagnosticAssessmentDataService = A.Fake <IDiagnosticAssessmentDataService>();
            diagnosticAssessmentService     = new DiagnosticAssessmentService(connection, logger, diagnosticAssessmentDataService);
            diagnosticAssessmentTestHelper  = new DiagnosticAssessmentTestHelper(connection);
        }
        public void Setup()
        {
            connection = ServiceTestHelper.GetDatabaseConnection();
            var logger = A.Fake <ILogger <SelfAssessmentDataService> >();

            selfAssessmentDataService = new SelfAssessmentDataService(connection, logger);

            competencyTestHelper = new CompetencyTestHelper(connection);
        }
Esempio n. 12
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. 13
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);
        }
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();
            var logger     = A.Fake <ILogger <LearningLogItemsDataService> >();

            service = new LearningLogItemsDataService(connection, logger);

            learningLogItemsTestHelper            = new LearningLogItemsTestHelper(connection);
            competencyLearningResourcesTestHelper = new CompetencyLearningResourcesTestHelper(connection);
        }
Esempio n. 15
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);
        }
Esempio n. 16
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            brandsDataService = new BrandsDataService(connection);
        }
Esempio n. 17
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            courseAdminFieldsDataService = new CourseAdminFieldsDataService(connection);
        }
Esempio n. 18
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            centreCustomPromptsDataService = new CentreCustomPromptsDataService(connection);
        }
 public void Setup()
 {
     connection = ServiceTestHelper.GetDatabaseConnection();
     notificationDataService = new NotificationDataService(connection);
 }
Esempio n. 20
0
 public void Setup()
 {
     connection        = ServiceTestHelper.GetDatabaseConnection();
     groupsDataService = new GroupsDataService(connection);
 }
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            configDataService = new ConfigDataService(connection);
        }
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            service = new EvaluationSummaryDataService(connection);
        }
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            service = new NotificationPreferencesDataService(connection);
        }
 public void SetUp()
 {
     connection      = ServiceTestHelper.GetDatabaseConnection();
     userDataService = new UserDataService(connection);
     service         = new PasswordResetDataService(connection, new NullLogger <PasswordResetDataService>());
 }
Esempio n. 25
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            service = new ActivityDataService(connection);
        }
Esempio n. 26
0
 public void SetUp()
 {
     connection = ServiceTestHelper.GetDatabaseConnection();
     multiPageFormDataService = new MultiPageFormDataService(connection);
 }
Esempio n. 27
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            logoService = new LogoService(connection);
        }
Esempio n. 28
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            supportTicketDataService = new SupportTicketDataService(connection);
        }
Esempio n. 29
0
        public void Setup()
        {
            var connection = ServiceTestHelper.GetDatabaseConnection();

            courseDelegatesDataService = new CourseDelegatesDataService(connection);
        }
Esempio n. 30
0
 public void Setup()
 {
     connection      = ServiceTestHelper.GetDatabaseConnection();
     userDataService = new UserDataService(connection);
 }