public CreateDraftApplicationTests() { this._module = IncidentReportModuleFactory.SetupAndBuild(); var _repository = InstanceResolver.Resolve <IDraftApplicationRepository>(); this._testFixture = new TestFixture(_repository); (_, this._suspiciousEmployee) = EmployeesTestFixture.PrepareApplicantAndRandomEmployeeInDb(); }
public PostApplicationUseCaseTests() { this._module = IncidentReportModuleFactory.SetupAndBuild(); var incidentApplicationRepository = InstanceResolver.Resolve <IIncidentApplicationRepository>(); var draftApplicationRepository = InstanceResolver.Resolve <IDraftApplicationRepository>(); this._testFixture = new TestFixture(incidentApplicationRepository, draftApplicationRepository); (this._applicant, this._suspiciousEmployee) = EmployeesTestFixture.PrepareApplicantAndRandomEmployeeInDb(); }
public void Setup() { this._testClient = TestClientFactory.GetHttpClient(); (this._applicant, this._suspiciousEmployee) = EmployeesTestFixture.PrepareApplicantAndRandomEmployeeInDb(); }