public void AssertThatUpdateBetIsCalled()
 {
     _betDao.UpdateBet(_bet);
     _collection.Received().UpdateOneAsync(Arg.Any <ExpressionFilterDefinition <Bet> >(),
                                           Arg.Any <UpdateDefinition <Bet> >()
                                           );
 }
 public async Task ChangeBet(Bet bet)
 {
     await _betDao.UpdateBet(bet);
 }