public void TestMethod_removeProductsInSrore() { Setup(); var session = db.Db.Client.StartSession(); session.StartTransaction(); db.createProductInstore(pis1); db.editProductInStore(pis1.Product.Id, store.Id, 10); DBmanager checkDB = new DBmanager(false); Assert.AreEqual(10, checkDB.getProductInStoreQuntity(store.Id, pis1.Product.Id)); db.removeProductInStore(pis1.Product.Id, store.Id); Assert.AreEqual(-1, checkDB.getProductInStoreQuntity(store.Id, pis1.Product.Id)); session.AbortTransaction(); }