示例#1
0
        public void AssertThatFindItemIsCalled()
        {
            var id = "1";

            _itemDao.FindItem(id);
            _filterExpression = new ExpressionFilterDefinition <Item>(i => i.Id == ObjectId.Parse(id));
            _collectionItem.Received().Find(_filterExpression);
        }