Exemplo n.º 1
0
        public void TestForUpdateProduct()
        {
            new GeneralInfo(repository);
            Product p        = repository.GetProduct(0);
            int     newCount = p.Count + 5;

            p.SetCount(newCount);
            Assert.AreEqual(repository.GetProduct(p.Id).Count, newCount);
        }