public void ProductsDbContainsProductReturnsTrue() { //Assign var productsDb = new ProductsDB(); var product = new Product(); productsDb.AddProduct(product); //Act + Assert Assert.IsTrue(productsDb.ContainsProduct(product.Id)); }
public void ProductsDbContainsProductReturnsTrue() { //Assign var productsDb = new ProductsDB(); var product = new Product(); productsDb.AddProduct(product); //Act + Assert Assert.IsTrue(productsDb.ContainsProduct(product.Id)); }