Exemplo n.º 1
0
 public TransactionManager(
     ITransactionRepository repository,
     ITransactionReaderFactory readerFactory)
 {
     _repository    = repository;
     _readerFactory = readerFactory;
 }
Exemplo n.º 2
0
        public TransactionReaderFactoryTests()
        {
            var xmlReader = new Mock <IXmlTransactionReader>();
            var csvReader = new Mock <ICsvTransactionReader>();

            _factory = new TransactionReaderFactory(xmlReader.Object, csvReader.Object);
        }