public void StockRepositoryTest_AddStock_Sucess() { try { StockRepository stoqueRepository = new StockRepository(); Stock stock = stoqueRepository.GetByIDs(1); stock.Quantity = 10; int actual = stoqueRepository.AddStock(stock); Assert.AreEqual(1, actual); } catch (Exception) { throw; } }