public void TestInitialze() { this.happyBuyRepositoryMock = new Mock <IHappyBuyRepository>(); this.hBCartBLMock = new Mock <IHBCartBL>(); this.hBCartBL = this.hBCartBLMock.Object; this.dictionary = new Dictionary <string, object>(); }
/// <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; }