public void TestInitialize()
        {
            _inputRepository  = Substitute.For <ICustomerInputRepository>();
            _outputRepository = Substitute.For <ICustomerOutputRepository>();

            _customerImportService = ServiceFactory.CreateCustomerImportService(_inputRepository, _outputRepository);
        }
Esempio n. 2
0
        public CustomerImportService(ICustomerInputRepository inputRepository, ICustomerOutputRepository outputRepository)
        {
            _inputRepository  = inputRepository;
            _outputRepository = outputRepository;

            _pureService = new CustomerImportServicePure();
        }
Esempio n. 3
0
 public static ICustomerImportService CreateCustomerImportService(ICustomerInputRepository inputRepository, ICustomerOutputRepository outputRepository)
 {
     return(new CustomerImportService(inputRepository, outputRepository));
 }