public TestFixture(IIncidentApplicationRepository incidentApplicationRepository, IDraftApplicationRepository draftApplicationRepository) { this._incidentApplicationRepository = incidentApplicationRepository; this._draftApplicationRepository = draftApplicationRepository; this._draftApplicationFactory = new DraftApplicationFactory(); this._draftApplicationTestFixture = new DraftApplicationTestFixture(); }
public UpdateDraftApplicationUseCase(IDraftApplicationRepository draftApplicationRepository, IFileStorageService fileStorageService, IOutputPort outputPort, IValidator <UpdateDraftApplicationInput> validator) { this._draftApplicationRepository = draftApplicationRepository; this._outputPort = outputPort; this._updateAttachments = new UpdateAttachments(fileStorageService); this._validator = validator; }
public CreateDraftApplicationUseCase(ICurrentUserContext userContext, IFileStorageService fileStorageService, IDraftApplicationRepository draftApplicationRepository, IOutputPort outputPort, IValidator <CreateDraftApplicationInput> validator) { this._draftApplicationRepository = draftApplicationRepository; this._fileStorageService = fileStorageService; this._outputPort = outputPort; this._attachmentsFactory = new AttachmentsFactory(); this._draftApplicationFactory = new DraftApplicationFactory(userContext); this._validator = validator; }
public PostApplicationUseCase(IIncidentApplicationRepository incidentApplicationRepository, IDraftApplicationRepository draftApplicationRepository, ICurrentUserContext userContext, IFileStorageService fileStorageService, IOutputPort outputPort, IValidator <PostApplicationInput> validator, IEventProcessor eventProcesor) { this._incidentApplicationRepository = incidentApplicationRepository; this._draftApplicationRepository = draftApplicationRepository; this._fileStorageService = fileStorageService; this._outputPort = outputPort; this._attachmentsFactory = new AttachmentsFactory(); this._incidentApplicationFactory = new IncidentApplicationFactory(userContext); this._validator = validator; this._eventProcesor = eventProcesor; }
public TestFixture(IDraftApplicationRepository draftApplicationRepository) { this._draftApplicationFactory = new DraftApplicationFactory(); this._draftApplicationTestFixture = new DraftApplicationTestFixture(); this._draftApplicationRepository = draftApplicationRepository; }
public TestFixture(IDraftApplicationRepository repository) { this._repository = repository; }