public void TearDown()
 {
     _dataRecorderMetaDataFactory = null;
     _paymentInstrumentFactory    = null;
 }
 public void SetUp()
 {
     _dataRecorderMetaDataFactory = _mocks.StrictMock <IDataRecorderMetaDataFactory>();
     _paymentInstrumentFactory    = new PaymentInstrumentFactory(_dataRecorderMetaDataFactory);
 }
Exemple #3
0
 public CombinedPaymentInstrumentRepository()
 {
     _paymentInstrumentFactory = new PaymentInstrumentFactory();
 }
Exemple #4
0
 public CombinedPaymentInstrumentRepository(IPersistenceLayer persistenceLayer, IPaymentInstrumentFactory paymentInstrumentFactory)
     : base(persistenceLayer)
 {
     _paymentInstrumentFactory = paymentInstrumentFactory;
 }
Exemple #5
0
 protected override void SetUp()
 {
     base.SetUp();
     _paymentInstrumentFactory    = _mocks.StrictMock <IPaymentInstrumentFactory>();
     _paymentInstrumentRepository = new CombinedPaymentInstrumentRepository(_persistenceLayer, _paymentInstrumentFactory);
 }