public SkillsFrameworkDataImportService(ISkillsFrameworkService skillsFrameworkService, IFrameworkSkillRepository frameworkSkillRepository, IJobProfileSocCodeRepository jobProfileSocCodeRepository, IJobProfileRepository jobProfileRepository, ISocSkillMatrixRepository socSkillMatrixRepository, IReportAuditRepository reportAuditRepository) { this.skillsFrameworkService = skillsFrameworkService; this.frameworkSkillRepository = frameworkSkillRepository; this.jobProfileSocCodeRepository = jobProfileSocCodeRepository; this.jobProfileRepository = jobProfileRepository; this.reportAuditRepository = reportAuditRepository; this.socSkillMatrixRepository = socSkillMatrixRepository; }
public SkillsFrameworkDataImportServiceTests() { fakeSkillsFrameworkService = A.Fake <ISkillsFrameworkService>(ops => ops.Strict()); fakeFrameworkSkillRepository = A.Fake <IFrameworkSkillRepository>(ops => ops.Strict()); fakeSocSkillMatrixRepository = A.Fake <ISocSkillMatrixRepository>(ops => ops.Strict()); fakeJobProfileSocCodeRepository = A.Fake <IJobProfileSocCodeRepository>(ops => ops.Strict()); fakeReportAuditRepository = A.Fake <IReportAuditRepository>(ops => ops.Strict()); fakeJobProfileRepository = A.Fake <IJobProfileRepository>(ops => ops.Strict()); A.CallTo(() => fakeReportAuditRepository.CreateAudit("SummaryDetails", A <string> ._)).DoesNothing(); A.CallTo(() => fakeReportAuditRepository.CreateAudit("ActionDetails", A <string> ._)).DoesNothing(); A.CallTo(() => fakeReportAuditRepository.CreateAudit("ErrorDetails", A <string> ._)).DoesNothing(); }