public ProductPaymentHandler(IProductTypeCollection productTypeCollection, IPhysicalProductProcessor physicalProductProcessor, IBookProcessor bookProcessor, IMembershipProcessor membershipProcessor)
 {
     _productTypeCollection    = productTypeCollection;
     _physicalProductProcessor = physicalProductProcessor;
     _bookProcessor            = bookProcessor;
     _membershipProcessor      = membershipProcessor;
 }
Exemplo n.º 2
0
 public void Setup()
 {
     _mockPaymentSlipGenerator = new Mock <IPaymentSlipGenerator>();
     _bookProcessor            = new BookProcessor(_mockPaymentSlipGenerator.Object);
 }