Example #1
0
        public void TestInitialze()
        {
            this.happyBuyRepositoryMock = new Mock <IHappyBuyRepository>();
            this.hBCartBLMock           = new Mock <IHBCartBL>();

            this.hBCartBL   = this.hBCartBLMock.Object;
            this.dictionary = new Dictionary <string, object>();
        }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CartController"/> class.
 /// </summary>
 /// <param name="hBCartBL">Injecting Dependency.</param>
 public CartController(IHBCartBL hBCartBL)
 {
     this.hBCartBL = hBCartBL;
 }