Ejemplo n.º 1
0
        public void TestInitialze()
        {
            this.happyBuyRepositoryMock = new Mock <IHappyBuyRepository>();
            this.hBOrderBLMock          = new Mock <IHBOrderBL>();

            this.hBOrderBL  = this.hBOrderBLMock.Object;
            this.dictionary = new Dictionary <string, object>();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderController"/> class.
 /// </summary>
 /// <param name="hBOrderBL">Order Entity Injection.</param>
 public OrderController(IHBOrderBL hBOrderBL)
 {
     this.hBOrderBL = hBOrderBL;
 }