public RecoveryOperationInfoMap( IMap <NotificationApplication, string> preconsentedAnswerMap, IMap <TechnologyEmployed, TechnologyEmployedData> technologyEmployedMap, ITechnologyEmployedRepository technologyEmployedRepository) { this.preconsentedAnswerMap = preconsentedAnswerMap; this.technologyEmployedMap = technologyEmployedMap; this.technologyEmployedRepository = technologyEmployedRepository; }
public RequiredAnnexesTests() { var notificationApplicationRepository = A.Fake<INotificationApplicationRepository>(); technologyEmployedRepository = A.Fake<ITechnologyEmployedRepository>(); notification = new TestableNotificationApplication(); notification.Id = notificationId; technologyEmployed = TechnologyEmployed.CreateTechnologyEmployedWithFurtherDetails(notificationId, "details", "further details"); A.CallTo(() => notificationApplicationRepository.GetById(notificationId)).Returns(notification); A.CallTo(() => technologyEmployedRepository.GetByNotificaitonId(notificationId)) .Returns(technologyEmployed); requiredAnnexes = new RequiredAnnexes(notificationApplicationRepository, technologyEmployedRepository); }
public RequiredAnnexesTests() { var notificationApplicationRepository = A.Fake <INotificationApplicationRepository>(); technologyEmployedRepository = A.Fake <ITechnologyEmployedRepository>(); notification = new TestableNotificationApplication(); notification.Id = notificationId; technologyEmployed = TechnologyEmployed.CreateTechnologyEmployedWithFurtherDetails(notificationId, "details", "further details"); A.CallTo(() => notificationApplicationRepository.GetById(notificationId)).Returns(notification); A.CallTo(() => technologyEmployedRepository.GetByNotificaitonId(notificationId)) .Returns(technologyEmployed); requiredAnnexes = new RequiredAnnexes(notificationApplicationRepository, technologyEmployedRepository); }
public RequiredAnnexes(INotificationApplicationRepository notificationRepository, ITechnologyEmployedRepository technologyEmployedRepository) { this.notificationRepository = notificationRepository; this.technologyEmployedRepository = technologyEmployedRepository; }
public SetTechnologyEmployedHandler(IwsContext context, ITechnologyEmployedRepository technologyEmployedRepository) { this.context = context; this.technologyEmployedRepository = technologyEmployedRepository; }
public GetTechnologyEmployedHandler(ITechnologyEmployedRepository technologyEmployedRepository, IMap <TechnologyEmployed, TechnologyEmployedData> mapper) { this.technologyEmployedRepository = technologyEmployedRepository; this.mapper = mapper; }
public MovementOperationBlockFactory(INotificationApplicationRepository notificationApplicationRepository, ITechnologyEmployedRepository technologyEmployedRepository) { this.notificationApplicationRepository = notificationApplicationRepository; this.technologyEmployedRepository = technologyEmployedRepository; }