#1323·moq

C# Xunit & Moq 模拟通用存储库, unitOfWork 存储库总是返回 null

作者: deva7mad创建于 2022年6月26日更新于 2024年9月2日
标签needs-repro

The problem is when I try to mock any method of the repository, for example `GetFirstOne`, it always returns `null` during debugging.