/// <summary> /// Initializes a new instance of the <see cref="ImportExportTests"/> class. /// </summary> public ImportExportTests() { this.MockRepository = MockRepositoryFactory.Get(); this.SerializerSettings = JsonSerializerSettingsFactory.Get(); this.Mapper = MapperFactory.Get(); this.MockImport = MockImportFactory.Get(); this.MockExport = MockExportFactory.Get(); this.ImportExport = new ImportExport(MockRepository.Object, this.SerializerSettings, Mapper, MockImport.Object, MockExport.Object); }
/// <summary> /// Initializes a new instance of the <see cref="PeopleSearchTests"/> class. /// </summary> public PeopleSearchTests() { this.MockRepository = MockRepositoryFactory.Get(); this.MockFindPersonController = MockFindPersonControllerFactory.Get(); this.SerializerSettings = JsonSerializerSettingsFactory.Get(); this.Mapper = MapperFactory.Get(); this.MockExport = MockExportFactory.Get(); var resultOutputPath = ""; var searchWaitMs = 60000; this.PeopleSearch = new PeopleSearch(MockRepository.Object, MockFindPersonController.Object, SerializerSettings, Mapper, MockExport.Object, resultOutputPath, searchWaitMs); }
/// <summary> /// Initializes a new instance of the <see cref="PeopleSearchHelper_ShouldCreatePersonSearchResult"/> class. /// </summary> public PersonSearchRequestHelperTests() { MockRepository = MockRepositoryFactory.Get(); MockFindPersonController = MockFindPersonControllerFactory.Get(); MockExport = MockExportFactory.Get(); var serializerSettings = JsonSerializerSettingsFactory.Get(); var mapper = MapperFactory.Get(); var resultOutputPath = ""; this.PersonSearchRequestHelper = new PersonSearchRequestHelper(MockRepository.Object, MockFindPersonController.Object, serializerSettings, mapper, MockExport.Object, resultOutputPath); }