public void InsertStocTest() { var target = new Stoc { IdPozitieFacturaIntrare = 28, IdProdus = 2, Cantitate = 30.123123m }; if (target.Save().Status == StatusEnum.Errors) { Assert.Fail(); } }
public void UpdateStocTest() { var target = new Stoc { IdPozitieFacturaIntrare = 1, IdProdus = 1, Cantitate = 30, ID = 1 }; if (target.Save().Status == StatusEnum.Errors) { Assert.Fail(); } }