public FilterQuestionsController(ILogService logService, IMapper mapper, ISessionService sessionService, IAssessmentService apiService) : base(sessionService) { this.logService = logService; this.mapper = mapper; this.apiService = apiService; }
public TeacherService(ITeacherRepository teacherRepository, IStudentService studentService, ICourseRepository courseRepository, IAssessmentService assessmentService) { _studentService = studentService; _assessmentService = assessmentService; _courseRepository = courseRepository; _teacherRepository = teacherRepository; }
public IndexTests() { sessionService = A.Fake <ISessionService>(); assessmentService = A.Fake <IAssessmentService>(); controller = new HomeController(sessionService, assessmentService); }
public ResultsController(ILogService logService, IMapper mapper, ISessionService sessionService, IResultsService resultsService, IAssessmentService apiService) : base(sessionService) { this.logService = logService; this.mapper = mapper; this.resultsService = resultsService; this.apiService = apiService; }
public LoadSessionPostTests() { sessionService = A.Fake <ISessionService>(); assessmentService = A.Fake <IAssessmentService>(); logService = A.Fake <ILogService>(); controller = new TestController(logService, sessionService, assessmentService); }
public AssessmentController(ILogService logService, IMapper mapper, IAssessmentService apiService, ISessionService sessionService, NotifyOptions notifyOptions) : base(sessionService) { this.logService = logService; this.mapper = mapper; this.apiService = apiService; this.notifyOptions = notifyOptions; }
public IndexGetTests() { mapper = A.Fake <IMapper>(); sessionService = A.Fake <ISessionService>(); assessmentService = A.Fake <IAssessmentService>(); logService = A.Fake <ILogService>(); controller = new FilterQuestionsController(logService, mapper, sessionService, assessmentService); }
public AssessmentTestBase() { mapper = A.Fake <IMapper>(); sessionService = A.Fake <ISessionService>(); assessmentService = A.Fake <IAssessmentService>(); logService = A.Fake <ILogService>(); notifyOptions = A.Fake <NotifyOptions>(); assessmentController = new AssessmentController(logService, mapper, assessmentService, sessionService, notifyOptions); }
public AssessmentServiceTests() { logger = A.Fake <ILogger <AssessmentService> >(); notifyOptions = A.Fake <NotifyOptions>(); assessmentApiService = A.Fake <IAssessmentApiService>(); sessionIdToCodeConverter = A.Fake <ISessionIdToCodeConverter>(); sessionService = A.Fake <ISessionService>(); assessmentService = new AssessmentService(logger, notifyOptions, assessmentApiService, sessionIdToCodeConverter, sessionService); }
public IndexTests() { mapper = A.Fake <IMapper>(); sessionService = A.Fake <ISessionService>(); assessmentService = A.Fake <IAssessmentService>(); resultsService = A.Fake <IResultsService>(); logService = A.Fake <ILogService>(); controller = new ResultsController(logService, mapper, sessionService, resultsService, assessmentService); }
public HandlerTests() { var assessment = new Assessment() { GivenName = "Unit", FamilyName = "Test" }; _assessmentService = Substitute.For <IAssessmentService>(); _assessmentService.GetAssessmentByPatientId(Arg.Any <int>()).Returns(assessment); }
public RolesTests() { mapper = A.Fake <IMapper>(); sessionService = A.Fake <ISessionService>(); assessmentService = A.Fake <IAssessmentService>(); resultsService = A.Fake <IResultsService>(); testCategory = "testCategory"; logService = A.Fake <ILogService>(); controller = new ResultsController(logService, mapper, sessionService, resultsService, assessmentService); }
public BulkAssessmentLoader(ICsvHelperService <AssessmentCsvRecordRequest, CsvResponseModel <AssessmentCsvRecordResponse>, AssessmentCsvRecordResponse> csvService, IAssessmentService assessmentService, IBlobStorageService blobStorageService, IDocumentUploadHistoryService documentUploadHistoryService, ILogger <BulkAssessmentLoader> logger) : base(blobStorageService, documentUploadHistoryService) { _csvService = csvService; _assessmentService = assessmentService; _blobStorageService = blobStorageService; _logger = logger; }
public ReportController(IAnalysisService analysisService, IPaciScreenSecurityService securityService, IAssessmentService assessmentService, ICatalogService catalogService, IPaciService paciService) { _analysisService = analysisService; _securityService = securityService; _assessmentService = assessmentService; _catalogService = catalogService; _paciService = paciService; }
public override void Setup() { CsvService = Substitute.For <ICsvHelperService <AssessmentCsvRecordRequest, CsvResponseModel <AssessmentCsvRecordResponse>, AssessmentCsvRecordResponse> >(); AssessmentService = Substitute.For <IAssessmentService>(); BlobService = Substitute.For <IBlobStorageService>(); Logger = Substitute.For <ILogger <BulkAssessmentLoader> >(); DocumentUploadHistoryService = Substitute.For <IDocumentUploadHistoryService>(); BlobUniqueRef = Guid.NewGuid(); Request = new BulkProcessRequest { AoUkprn = 1234567891, BlobFileName = "assessments.csv", BlobUniqueReference = BlobUniqueRef, DocumentType = DocumentType.Assessments, FileType = FileType.Csv, PerformedBy = "TestUser", }; }
/// <summary> /// Initializes a new instance of the <see cref="AccountService"/> class. /// </summary> /// <param name="tableStorage">The tableStorage<see cref="ITableStorage"/>.</param> /// <param name="schoolService">The schoolService<see cref="ISchoolService"/>.</param> /// <param name="mapper">The mapper<see cref="IMapper"/>.</param> /// <param name="studentService">The studentService<see cref="IStudentService"/>.</param> /// <param name="classService">The classService<see cref="IClassService"/>.</param> /// <param name="assessmentService">The assessmentService<see cref="IAssessmentService"/>.</param> /// <param name="contentService">The contentService<see cref="IContentService"/>.</param> /// <param name="settingService">The settingService<see cref="ISettingService"/>.</param> /// <param name="emailService">The emailService<see cref="IEmailService"/>.</param> public AccountService(ITableStorage tableStorage, ISchoolService schoolService, IMapper mapper, IStudentService studentService, IClassService classService, IAssessmentService assessmentService, IContentService contentService, ISettingService settingService, IEmailService emailService) { _tableStorage = tableStorage; _schoolService = schoolService; _mapper = mapper; _studentService = studentService; _classService = classService; _contentService = contentService; _assessmentService = assessmentService; _emailService = emailService; _settingService = settingService; }
public AssessmentController(ILogger <ProfileController> logger, IAssessmentService service) { _logger = logger; _service = service; }
/// <summary> /// Constructor for creating reference for Training service layer /// </summary> public AssessmentController(ITrainingService trainingService, IAssessmentService _assessmentService) { _ITrainingService = trainingService; _IAssessmentService = _assessmentService; }
public HomeController(ISessionService sessionService, IAssessmentService assessmentService) : base(sessionService) { this.assessmentService = assessmentService; }
/// <summary> /// Initializes a new instance of the <see cref="AssessmentFunction"/> class. /// </summary> /// <param name="assessmentService">The assessmentService<see cref="IAssessmentService"/>.</param> public AssessmentFunction(IAssessmentService assessmentService) { _assessmentService = assessmentService; }
public AssessmentServicesTest() { _sut = Substitute.For <IAssessmentService>(); }
public AssessmentController(ITeacherService teacherService, IAssessmentService assessmentService, IStudentService studentService) { _studentService = studentService; _assessmentService = assessmentService; _teacherService = teacherService; }
public AssessmentController(IAssessmentService assessmentService, IOutputConverter outputConverter) { _assessmentService = assessmentService; _outputConverter = outputConverter; }
//Constructor public AssessmentController() { this.AssessmentService = new AssessmentService(); }
public Handler(IAssessmentService assessmentService) { _assessmentService = assessmentService; }
/// <summary> /// Initializes a new instance of the <see cref="AssessmentRuleEngine" /> class. /// </summary> /// <param name="assessmentService">The assessment service.</param> public AssessmentRuleEngine(IAssessmentService assessmentService) { this.assessmentService = assessmentService; }
public TestController(ILogService logService, ISessionService sessionService, IAssessmentService apiService) : base(sessionService) { this.logService = logService; this.apiService = apiService; }
public AssessmentController(IBulkAssessmentLoader bulkAssementProcess, IAssessmentService assessmentService) { _bulkAssementProcess = bulkAssementProcess; _assessmentService = assessmentService; }
public AssessmentController(IExternalDemographicsAPIService externalDemographicsAPIService, IAssessmentService assessmentService) { _externalDemographicsAPIService = externalDemographicsAPIService; _assessmentService = assessmentService; }
public AssessmentsController(IAssessmentService assessmentService, IMapper mapper, IAssessmentResponseComposer assessmentResponseComposer) { _assessmentService = assessmentService; _mapper = mapper; _assessmentResponseComposer = assessmentResponseComposer; }