Beispiel #1
0
 public void GetChange()
 {
     Init();
     CurrentState.Change = 5;
     VengineMachine.GetChange(CurrentState, CoinEntitiesList);
     Assert.AreEqual(9, Coin1.Count);
     Assert.AreEqual(8, Coin2.Count);
 }
        public void GetChange()
        {
            CurrentStateEntity currentState = _stateRepository.GetFirst();

            _vengineMachine.GetChange(currentState, _coinRepository.Queryable().ToList());

            _logger.Info(" before _db.SaveChanges()...");
            _stateRepository.SaveChanges();
        }