예제 #1
0
        static void Main(string[] args)
        {
            OrderProcessingFactory orderProcessingFactory = new ConcreteOrderProcessingFactory();
            Iorder order = orderProcessingFactory.getOrderDetails("Learning to Ski");

            Console.WriteLine(order.ProcessOrder());
        }
 public LearningtoSkiTest()
 {
     _orderProcessingFactory = new ConcreteOrderProcessingFactory();
 }
 public PhysicalProductTest()
 {
     _orderProcessingFactory = new ConcreteOrderProcessingFactory();
 }
예제 #4
0
 public ActivateMembershipTest()
 {
     _orderProcessingFactory = new ConcreteOrderProcessingFactory();
     _emailMembership        = new Mock <MembershipEmail>();
 }
 public UpgradeMembershipTest()
 {
     _orderProcessingFactory = new ConcreteOrderProcessingFactory();
 }