Stub Your Generics with Microsoft's Fakes Framework

3,984 views · Published 21 October 2012 · 6:21 · Indexed 26 September 2026

Channel: Pluralsight · 2012 · Education

Watch on YouTube

Watch the full HD course:  http://pluralsight.com/training/courses/TableOfContents?courseName=microsoft-fakes

Using Microsoft's new Fakes framework for creating mock objects isn't always as straightforward as you might think. In this video excerpt from Jim Cooper and Donald Belcham's new course Microsoft Fakes Fundamentals you'll see how to create a stub for a generic type using some unusual syntax.  In the complete course the duo covers other topics such as the properties of a good unit test, using stubs to control program flow, and using shims.

-~-~~-~~~-~~-~-
Push your limits. Expand your potential. Smarter than yesterday-
https://www.youtube.com/watch?v=k2s77i9zTek
-~-~~-~~~-~~-~-

More from this channel