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