public void DrinkChangeCount() { Init(); VengineMachine.ChangeCount(Drink1, 8); Assert.AreEqual(8, Drink1.Count); }
public void ChangeDrinkCount(Guid id, int count) { DrinkEntity drinkEntity = _drinkRepository.Get(id); _printer.DrinkInfo(drinkEntity); _vengineMachine.ChangeCount(drinkEntity, count); _logger.Info(" before _db.SaveChanges()..."); _drinkRepository.SaveChanges(); }