public void TestInitialze() { this.happyBuyRepositoryMock = new Mock <IHappyBuyRepository>(); this.hBProductBLMock = new Mock <IHBProductBL>(); this.hBProductBL = this.hBProductBLMock.Object; this.dictionary = new Dictionary <string, object>(); }
/// <summary> /// Initializes a new instance of the <see cref="ProductController"/> class. /// </summary> /// <param name="hBProductBL">Dependency Injection.</param> public ProductController(IHBProductBL hBProductBL) { this.hBProductBL = hBProductBL; }