public void TestMethod_AddProductInstore() { 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)); checkDB.removeProductInStore(store.Id, pis1.Product.Id); session.AbortTransaction(); }