public void before_each()
        {
            _player = new Player { AccountBalance = 175 };
            _repo = new MockRepository();
            _service = new BankerService(_repo);

            _message = _service.PayTheBank(_player, 200);
        }
        public void before_each()
        {
            _player = new Player { AccountBalance = 175 };
            _mock = new Mock<IBankRepository>();
            _mock.Setup(m => m.PutMoneyInTheBank(It.IsAny<int>()));
            _service = new BankerService(_mock.Object);

            _message = _service.PayTheBank(_player, 50);
        }
 public void before_each()
 {
     _player = new Player { AccountBalance = 875 };
     _repo = new MockRepository();
     _service = new BankerService(_repo);
 }
 public void before_each()
 {
     _player = new Player { AccountBalance = 875 };
     _mock = new Mock<IBankRepository>();
     _mock.Setup(m => m.TakeMoneyFromTheBank(It.IsAny<int>())).Returns(true);
     _mock.Setup(m => m.TakeMoneyFromTheBank(550)).Returns(false);
     _service = new BankerService(_mock.Object);
 }