Ejemplo n.º 1
0
 public OrdersControllerUnitTest()
 {
     _computerShopDbContext = new ComputerShopDbContextMock();
     _ordersController      = new OrdersController(_computerShopDbContext);
 }
 public ProductsControllerUnitTest()
 {
     _computerShopDbContext = new ComputerShopDbContextMock();
     _productsController    = new ProductsController(_computerShopDbContext.Products, _computerShopDbContext);
 }