how to mock a method to return null c# code example
Example: moq setup returns null
unitOfWork.Setup(m => m.PhysicalTests).Returns((IRepository<PhysicalTest>)null);
unitOfWork.Setup(m => m.PhysicalTests).Returns((IRepository<PhysicalTest>)null);