public void ProductRepository_CreateProduct_2IfCreate() { ProductRepository produtoRepository = new ProductRepository(); int actual = produtoRepository.Creates(new Product { Name = "Choco IceCream", CategoryID = 1, Code = "200", PurchasePrice = 1, SalePrice = 2, Stock = new Stock { ManageStock = true, MaximunQuantity = 200, MinimunQuantity = 20 } }); // ClearConnection(); Assert.AreEqual(2, actual); }