Tuesday, April 28, 2020

more on MOQ

Mock.Of is a way to prep a dependency to be jammed into a class (to line up with an interface) and Mock.Loose is a way to set the mocking approach to "not strict" so to speak. There is also a Mock.Get too!

No comments:

Post a Comment