public void TestInitialize() { _inputRepository = Substitute.For <ICustomerInputRepository>(); _outputRepository = Substitute.For <ICustomerOutputRepository>(); _customerImportService = ServiceFactory.CreateCustomerImportService(_inputRepository, _outputRepository); }
public CustomerImportService(ICustomerInputRepository inputRepository, ICustomerOutputRepository outputRepository) { _inputRepository = inputRepository; _outputRepository = outputRepository; _pureService = new CustomerImportServicePure(); }
public static ICustomerImportService CreateCustomerImportService(ICustomerInputRepository inputRepository, ICustomerOutputRepository outputRepository) { return(new CustomerImportService(inputRepository, outputRepository)); }