示例#1
0
        public void ProductsDbContainsProductReturnsTrue()
        {
            //Assign
            var productsDb = new ProductsDB();
            var product    = new Product();

            productsDb.AddProduct(product);
            //Act + Assert
            Assert.IsTrue(productsDb.ContainsProduct(product.Id));
        }