示例#1
0
        public CreateDraftApplicationTests()
        {
            this._module = IncidentReportModuleFactory.SetupAndBuild();
            var _repository = InstanceResolver.Resolve <IDraftApplicationRepository>();

            this._testFixture             = new TestFixture(_repository);
            (_, this._suspiciousEmployee) = EmployeesTestFixture.PrepareApplicantAndRandomEmployeeInDb();
        }
示例#2
0
        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();
        }
示例#3
0
 public void Setup()
 {
     this._testClient = TestClientFactory.GetHttpClient();
     (this._applicant, this._suspiciousEmployee) = EmployeesTestFixture.PrepareApplicantAndRandomEmployeeInDb();
 }