Microsoft has released the Fakes framework for Visual Studio 2012 Ultimate, which allows static types to mock using pads. Gaskets are fake assemblies that provide delegates with all the methods available for access. Calls are then routed through an event filter, and wherever a test has configured one of its delegates, the delegate processes the call. Not that anyone wants to promote static types that are not handled by dependency injection. The preferred direction is the transition from the need to use gaskets to the use of plugs using DI.
David
source share