Exemplo n.º 1
0
 public void AssertThatFindBetIsCalled()
 {
     _betDao.Find(_bet);
     _filterExpression = new ExpressionFilterDefinition <Bet>(b => b.Guid == _bet.Guid);
     _collection.Received().Find(_filterExpression);
     Assert.IsInstanceOf <Task <Bet> >(_betDao.Find(Arg.Any <Bet>()));
 }