Beispiel #1
0
        public void TestInitialze()
        {
            this.happyBuyRepositoryMock = new Mock <IHappyBuyRepository>();
            this.hBProductBLMock        = new Mock <IHBProductBL>();

            this.hBProductBL = this.hBProductBLMock.Object;
            this.dictionary  = new Dictionary <string, object>();
        }
Beispiel #2
0
 /// <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;
 }